Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mcolyer
mcolyer / build.sh
Last active December 16, 2015 03:59 — forked from stomita/build.sh
Build PhantomJS
#!/bin/bash
BUILDPACK_PREFIX=/home/ubuntu/phantomjs
PHANTOMJS_VERSION="1.9.0"
PHANTOMJS_DIR="phantomjs-${PHANTOMJS_VERSION}"
INCREMENT=v2
mkdir -p ${BUILDPACK_PREFIX}
sudo apt-get update
sudo apt-get install build-essential chrpath git-core libssl-dev libfontconfig1-dev -y