Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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/
@kasaiee

This comment has been minimized.

Copy link

kasaiee commented Aug 21, 2017

https://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-x86_64.tar.bz2 does not exists!

@AAlvarez90

This comment has been minimized.

Copy link

AAlvarez90 commented Jul 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.