Skip to content

Instantly share code, notes, and snippets.

@namick
Created March 23, 2013 15:59
Show Gist options
  • Save namick/5228205 to your computer and use it in GitHub Desktop.
Save namick/5228205 to your computer and use it in GitHub Desktop.
Install phantomjs 1.8.1 on headless 64bit Ubuntu

Required by Phantomjs but not on some headless systems

apt-get -y install fontconfig

Download the pre-compiled binary for 64bit Ubuntu

cd /tmp
wget https://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-x86_64.tar.bz2

Extract it

tar jxvf phantomjs-1.8.1-linux-x86_64.tar.bz2

Copy it in place

cp phantomjs-1.8.1-linux-x86_64/bin/phantomjs /usr/local/bin/
@AAlvarez90
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment