How to install PhantomJS on Ubuntu
Version: 1.9.8Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
Install these packages needed by PhantomJS to work correctly.
sudo apt-get install libfreetype6 libfreetype6-dev
sudo apt-get install libfontconfig1 libfontconfig1-dev
Get it from the PhantomJS website.
cd ~
export PHANTOM_JS="phantomjs-1.9.8-linux-x86_64"
wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2
sudo tar xvjf $PHANTOM_JS.tar.bz2
Once downloaded, move Phantomjs folder to /usr/local/share/ and create a symlink:
sudo mv $PHANTOM_JS /usr/local/share
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
Now, It should have PhantomJS properly on your system.
phantomjs --version
Learn More :
Ubuntu
- Ubuntu 16.04.1 Parallels Tools Install Log
- How to install VulnReport on Ubuntu
- How To Install Docker Ubuntu 14.04
- How to install VulnReport on Ubuntu
- How to run on ubuntu VM
- How to install skeltrack on ubuntu 11.04
- How to install GRUB Customizer for Ubuntu Backtrack Linux
- How To install mongodb and php driver in ubuntu 12.10 ?
- Script to install mailcatcher on Debian/Ubuntu without RVM
- Ubuntu 12.10 on Lenovo Ideapad S205
- Install gamepanelx master on ubuntu 12.10
- TREE.IO INSTALLATION ON UBUNTU
- Installing Tata Docomo 3G Dongle under Ubuntu 10.10
- Installing Kubuntu (Ubuntu) 12.10 in VMWare Player 5
- How To Install Plex Media Server on Ubuntu
- Kali Tools In Ubuntu Linux (instructions)