Ubuntuにphantomjsをインストールする



Install Phantomjs Ubuntu



http://phantomjs.org/download.html ご使用の環境に合わせてダウンロードしてください。

After downloading, start to unzip the file tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 mv phantomjs-2.1.1-linux-x86_64 phantomjs mv phantomjs /usr/local/src/ #Execute this step if an error is prompted, check whether phantomjs already exists in /usr/local/src/. Reorder ln -sf /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/phantomjs phantomjs --version #Check the version if there is no problem, it means the installation is successful!