How to install OSM client

From OSM Public Wiki
Revision as of 16:10, 6 December 2018 by Garciadeblas (talk | contribs)
Jump to: navigation, search

In those cases where you have an OSM already installed in a remote server, you might still want to operate it from your local computer using the OSM client. In order to install OSM client, you will need a Linux machine and follow the procedure below to install it:

curl https://osm-download.etsi.org/repository/osm/debian/ReleaseFIVE/OSM%20ETSI%20Release%20Key.gpg | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] https://osm-download.etsi.org/repository/osm/debian/ReleaseFIVE stable osmclient"
sudo apt-get update
sudo apt-get install -y python-osmclient

After the installation completes, you might want to add the following environment variables to your .bashrc file:

export OSM_HOSTNAME=<OSM_host> # IP of the OSM server (default: 127.0.0.1)