Skip to content

Setup 0.3X on Ubuntu 12.10

JoeCoderGuy edited this page Jul 2, 2013 · 8 revisions

First, insert (or overwrite) the following into /etc/apt/sources.list:

deb http://archive.ubuntu.com/ubuntu quantal main universe multiverse

deb http://archive.ubuntu.com/ubuntu quantal-updates main universe multiverse

deb http://security.ubuntu.com/ubuntu quantal-security main universe multiverse

deb http://archive.canonical.com/ubuntu quantal partner

to get the latest packages.

Next, apt-get update and apt-get upgrade to get up to date.

Then, to get all dependencies except for boost, apt-get install gcc g++ build-essential libssl-dev scons.

In ~ directory download boost (1.53.0 as of this edit) wget http://sourceforge.net/projects/boost/files/boost/1.53.0/boost_1_53_0.tar.bz2/download; rename the downloaded file mv download boost_1_53_0.tar.bz2; unzip it tar xvfj boost_1_53_0.tar.bz2; cd boost_1_53_0; ./bootstrap.sh --exec-prefix=/usr/local; ./b2; and sudo ./b2 install.

Then, make sure your libraries are linked by inserting export LD_LIBRARY_PATH=/usr/local/lib and export BOOST_ROOT=~/boost_1_53_0 into /etc/bash.bashrc.

Finally, get the websocket++ zip wget https://github.com/zaphoyd/websocketpp/archive/master.zip and unzip it unzip master.zip, and you're ready to go!