Skip to content

Instantly share code, notes, and snippets.

sudo apt-get install build-essential
sudo apt-get install libreadline-dev
sudo apt-get install zlib1g-dev
sudo apt-get install flex
sudo apt-get install bison
sudo apt-get install libxml2-dev
sudo apt-get install libxslt-dev
sudo apt-get install libssl-dev
# http://nonantolando.blogspot.tw/2012/10/using-json-on-ubuntu-1204-server-with.html
sudo apt-get install libv8-3.7.12.22 libv8-dev
# Install d8
# http://askubuntu.com/questions/141252/is-there-a-package-for-an-executable-version-of-v8
svn checkout http://v8.googlecode.com/svn/trunk/ ./v8
cd v8
make dependencies
#Postgresql 9.2.1 Compilation instructions for Ubuntu 12.04
#This will install Postgresql 9.2.1 into /usr/local/postgresql-9.2.1
#This assumes that you have sudo provileges on the machine installing postgresql
#It should work by copying and pasting into the shell, I haven't tested it, I just summarized
#what I just did and it worked
#Get requirements
sudo apt-get install build-essential libreadline6-dev zlib1g-dev