-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Building on Ubuntu
Dennis Luxen edited this page Mar 25, 2026
·
30 revisions
This page describes building OSRM on Ubuntu using the system's apt package manager.
sudo apt install -y build-essential git cmake pkg-config \
gcc g++ libbz2-dev libstxxl-dev libstxxl1v5 libxml2-dev \
libzip-dev libboost-all-dev lua5.2 liblua5.2-dev libtbb-dev
# When compiling
cmake # ...
You're pretty much on your own here: you need to update CMake, your compiler and have to compile every C++ dependency locally against your new compiler yourself. It's possible for sure; if you really need to do this and need help open a ticket or ping us on IRC.