Last active
January 20, 2023 15:43
-
-
Save zdne/6391879 to your computer and use it in GitHub Desktop.
Install phantomjs 1.9.1 x64 on Ubuntu Precise
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
$ sudo apt-get install libfontconfig | |
$ cd /usr/local/share | |
$ sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
$ sudo tar xjf phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs | |
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs | |
$ sudo ln -s /usr/local/share/phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs |
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
$ sudo rm -rf phantomjs-1.9.1-linux-x86_64 | |
$ sudo rm /usr/local/share/phantomjs | |
$ sudo rm /usr/local/bin/phantomjs | |
$ sudo rm /usr/bin/phantomjs |
Awesome, thanks for the support :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's great, you just saved me 👍
BTW, the link for 1.9.1 you've provided is no more working, still you can download phantomjs 1.9.1 from this page https://repo1.maven.org/maven2/com/github/klieber/phantomjs/1.9.1/