1、安装依赖的库
sudo apt-get install g++ flex bison gperf ruby perl \
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \
libpng-dev libjpeg-dev
2、下载、编译
wget https://bbuseruploads.s3.amazonaws.com/ariya/phantomjs/downloads/phanto[......]
Linux下编译Phantomjs
Leave a reply