Installation » History » Revision 12
Revision 11 (Tony Ciavarella, 06/04/2012 01:47 AM) → Revision 12/175 (Tony Ciavarella, 06/04/2012 01:48 AM)
h1. Installation
h2. Obtaining the Source Code
h3. Release Tarballs
Release source tarballs are available on the "Files":http://oss.squalllinesoftware.com/projects/disorder/files page. This is what you want if you are looking for stability and something ready for production use. You'll probably want to use the most recent version found on that page.
h3. SCM
The Disorder source code is hosted in a "Bazaar":http://bazaar.canonical.com repository. This is what you want if you are looking for the very latest bleeding edge of the code for contributing to Disorder or whatever other reason you may have.
To get a lightweight checkout of the latest version without all the history (not suitable for Disorder development):
<pre>bzr co --lightweight http://???.squalllinesoftware.com/???/disorder</pre>
To clone the repository including the full history:
<pre>bzr branch http://???.squalllinesoftware.com/???/disorder</pre>
h2. Prerequisites
The following third party things are required to use Disorder:
* "Boost":http://www.boost.org >= 1.49.0
* "Eigen":http://eigen.tuxfamily.org >= 3.0.5
* C++ version of the "SEDRIS SRM":http://www.sedris.org/srm_4.4/srm_c_cpp.htm >= 4.4.0 (optional but you will need some kind of sophisticated geospatial library)
* A "Python":http://www.python.org interpreter (needed to use the "waf":https://code.google.com/p/waf/ build system)
Build and install these things in accordance with the instructions for your operating system. Here are some hints for certain platforms.
h3. Debian Linux and Derivatives
To install the Boost and Eigen build dependencies on Debian and maybe other derivatives:
<pre>sudo apt-get install libboost-dev libboost-system-dev libboost-thread-dev libboost-date-time-dev libeigen3-dev</pre>
If you don't already have python, this will get the required bits of that:
<pre>sudo apt-get install python</pre>
h2. Compiling
h3. With GCC on Linux
h3. With Clang++ on Linux
h3. With Visual Studio 2010 (Express or Full)
h2. Building Against the Disorder Library