通过github安装phantomjs

Getting the Code

To obtain the code using Git from the official repository github.com/ariya/phantomjs:

git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 2.1.1
git submodule init
git submodule update

From the code checkout:

python build.py

This will take some time. Once it is completed, the executable will be available under the binsubdirectory.

Tip: If the compilation process is interrupted, once started again the build.py script will continue where left off.

打赏
Bookmark the permalink.
0 0 投票数
文章评分
订阅评论
提醒
guest

0 评论
内联反馈
查看所有评论