标签:
1、安装依赖的库
<pre>
sudo apt-get install g++ flex bison gperf ruby perl \ libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \ libpng-dev libjpeg-dev
</pre>
2、下载、编译
<pre>
wget https://bbuseruploads.s3.amazonaws.com/ariya/phantomjs/downloads/phantomjs-2.0.0-source.zip unzip phantomjs-2.0.0-source.zip ./build.sh
</pre>
标签:
原文地址:http://www.cnblogs.com/onlyonely/p/4989040.html