javascript · linux · minicloud · ppc64le

javascript: phantomjs on Power

PhantomJS ( is a headless WebKit scriptable with JavaScript. Officially it does not support Power, with builds available only for x86_64 architecture. But, if you want to use on your ppc64le, follow the steps below:

The initial step is to get access to Power virtual machine for free at Minicloud. Then, once the VM is up and running, install the required dependencies:

sudo apt-get update -qq
sudo apt-get upgrade -y -qq
sudo apt-get install -qq build-essential libicu-dev libssl-dev gperf bison ruby flex


Once installed, clone the phantomjs repository:

git clone

With, you are all set to build phantomjs:

cd ./phanthomjs

./ -c -r

When the build completes, your phantomjs will be available in the /bin folder.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s