ars / docs / sphinx / source / installation / ubuntu_12-04.rst

Ubuntu 12.04

Ubuntu is a distribution ('distro') of GNU/Linux. Its latest LTS release is 12.04 (a.k.a. Precise Pangolin) and was published on April, 2012.

For this OS, the complete list of steps is available (and has been thoroughly checked), including ODE's compilation and installation, which are the major obstacles in the process and may scare users unaccustomed to the command line and software compilation.

Run the following commands in sequence and you'll have ARS ready to go. They are grouped as: a) Python basic packages, b) VTK, c) ODE, d) ARS:

sudo apt-get install python-dev python-support python-pip
sudo apt-get install python-numpy cython

sudo apt-get install libvtk5.8 python-vtk

sudo apt-get install autoconf automake libtool g++
tar xf ode-0.12.tar.bz2
cd ode-0.12/
./configure --enable-double-precision --with-trimesh=opcode --enable-new-trimesh --enable-shared
sudo make install
cd bindings/python/
python build_ext
sudo python install
sudo ldconfig

sudo pip install ARS

Notice how ODE is the software piece that takes more commands and time to install. Fortunately, ARS is the exact opposite.


Not all users will need to run ldconfig but it doesn't hurt if you do. See :ref:`ODE Import Error<ode_import_error>` for more information.