LoginSignup
3
3

More than 5 years have passed since last update.

Linuxにphantom jsのインストール

Last updated at Posted at 2017-07-13

まずDLと解答

sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2


sudo tar jxfv phantomjs-2.1.1-linux-x86_64.tar.bz2

/usr/local/srcに移動して、リンクを設定

cd /usr/local/src
sudo mv ~/phantomjs-2.1.1-linux-x86_64 .

sudo ln -s phantomjs-2.1.1-linux-x86_64 phantomjs

sudo ln -s /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

あとはphantomjsのverを確認してちゃんと入っているのを確認

phantomjs -v
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3