Help us understand the problem. What is going on with this article?

phantomJS2 build on linux

More than 5 years have passed since last update.


see PhantomJS 2 · ariya/phantomjs Wiki


込み入ったバグが2で解決してたので2を使いたい。おまけで2にするとweb fontsがサポートされる(1.xはweb fontsサポートしないと公言されてる)


  • requires 8G memory. 4G is not enough.
  • CentOS


PhantomJS 2 (Qt5) - Google Groups

Unfortunately for now if someone wants to experiment building it, then
you have to collect all the info (bits and pieces) from this



sudo yum -y install libicu
sudo yum -y install gdb
sudo yum -y install libicu-devel
sudo yum -y install gperf
sudo yum -y install sqlite-devel
sudo yum -y install freetype
sudo yum -y install fontconfig
sudo yum -y install freetype-devel
sudo yum -y install fontconfig-devel
sudo yum -y install flex

sudo yum -y install vlgothic-fonts

phantomjs screenshot font missing, boxes rendered instead - Stack Overflow


git clone
cd phantomjs
git checkout bf655c3c9b216d19d6f292f8526bf3c66b533e4f
git submodule init
git submodule update

sh --confirm --jobs 10

bin/phantomjs が生成されます。

I hate computers.
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away