-
-
Save astagi/7968c111bba77fa77153161f712bfd99 to your computer and use it in GitHub Desktop.
How to install PhantomJS on CentOS/RHEL
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
yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++ | |
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
tar -xjvf ~/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 --strip-components 1 /opt/phantomjs/ | |
sudo yum install libffi-devel openssl-devel | |
pip install pyopenssl pyasn1 | |
pip install requests[security] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment