Skip to content
Julien Coupey edited this page May 20, 2016 · 12 revisions

Ubuntu 16.04

sudo apt-get install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl1v5 libxml2-dev \
libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libtbb-dev

Ubuntu 15.10

sudo apt-get install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl1v5 libxml2-dev \
libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libtbb-dev

Ubuntu 15.04

sudo apt-get install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl1 libxml2-dev \
libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libtbb-dev

Ubuntu 14.04+

sudo apt-get install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl1 libxml2-dev \
libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libtbb-dev

Ubuntu 12.04+

On Ubuntu 12.04 LTS you may run into this issue: https://github.com/DennisOSRM/Project-OSRM/issues/465

On Ubuntu 12.04 you will be limited to OSRM tag v0.3.10 because later versions require Boost v1.49+ and installing this causes problems with libluabind-dev package.

sudo apt-get install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl-doc libstxxl1 libxml2-dev \
libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libluajit-5.1-dev libtbb-dev

To be able to run cucumber tests, run these as well:

sudo apt-get install rubygems
sudo gem install bundler
bundle install  #must be run from the OSRM root folder

Ubuntu 11.10

sudo apt-get install build-essential git cmake libbz2-dev libstxxl-dev libstxxl-doc \
libstxxl1 libxml2-dev libzip-dev libboost-thread-dev libboost-system-dev \
libboost-regex-dev libboost-filesystem-dev libluabind-dev