Skip to content

Instantly share code, notes, and snippets.

@patperu
Forked from datawookie/install-osrm.sh
Last active August 12, 2019 14:07
Show Gist options
  • Save patperu/db2dc0cf2a245c1f33de58e8ca1878ac to your computer and use it in GitHub Desktop.
Save patperu/db2dc0cf2a245c1f33de58e8ca1878ac to your computer and use it in GitHub Desktop.
Install OSRM
#!/bin/bash
# see blog post: https://datawookie.netlify.com/blog/2017/09/building-a-local-osrm-instance/
sudo apt update
sudo apt install -y git \
cmake \
build-essential \
jq \
liblua5.2-dev \
libboost-all-dev \
libprotobuf-dev \
libtbb-dev \
libstxxl-dev \
libbz2-dev
git clone https://github.com/Project-OSRM/osrm-backend.git
cd osrm-backend/
mkdir build
cd build/
cmake ..
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment