Skip to content

Instantly share code, notes, and snippets.

@ryanoboril
Last active June 13, 2019 18:09
Show Gist options
  • Save ryanoboril/278197b04cb8c838d72b to your computer and use it in GitHub Desktop.
Save ryanoboril/278197b04cb8c838d72b to your computer and use it in GitHub Desktop.
Setup PhantomJS on CentOS 6.5
# Use one of the download links here: http://phantomjs.org/download.html
# In this case, it's the 32-bit version.
sudo yum install freetype fontconfig
cd ~
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-i686.tar.bz2
bunzip2 phantomjs*.tar.bz2
tar xvf phantomjs*.tar
sudo cp phantomjs*/bin/phantomjs /usr/bin/phantomjs
phantomjs -v
@impactcolor
Copy link

Does this not work anymore? I got an error
clone of 'https://github.com/Vitallium/phantomjs-3rdparty-win.git' into submodule path '/usr/local/share/phantomjs/src/qt/3rdparty' failed

@impactcolor
Copy link

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