linux下安装PhantomJS

下载地址

http://phantomjs.org/download.html

进入下载目录解压

tar jxvf phantomjs-2.1.1-linux-x86_64.tar.bz2

移动

sudo mv -f phantomjs /usr/bin/phantomjs
sudo ln -s /usr/bin/phantomjs /usr/local/bin/phantomjs

你可能感兴趣的:(linux下安装PhantomJS)