Last active
June 13, 2019 18:09
-
-
Save ryanoboril/278197b04cb8c838d72b to your computer and use it in GitHub Desktop.
Setup PhantomJS on CentOS 6.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
PhantomJS team is encouraging to build the Linux version from source.
It's really easy to build (maybe long wait - my own 45 minutes on CentOS 6.4), if you follow the steps from here: http://phantomjs.org/build.html
Information
Binary packages for Linux are still being prepared. There are still issues to be solved until a static build is available (see issue 12948 for more details).
ariya/phantomjs#12948
In the mean time, it is recommended that you build the Linux version from source.
it works for me.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This don't work in my CentOS Server