How to install OSM client: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
Line 1: Line 1:
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:
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 http://osm-download.etsi.org/repository/osm/debian/ReleaseFOUR/OSM%20ETSI%20Release%20Key.gpg | sudo apt-key add -
  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] http://osm-download.etsi.org/repository/osm/debian/ReleaseFOUR stable osmclient"
  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 update
  sudo apt-get install -y python-osmclient
  sudo apt-get install -y python-osmclient


After the installation completes, you will need to add the following environment variables to the end of your .bashrc file and then source it with source .bashrc
After the installation completes, you might want to add the following environment variables to your .bashrc file:


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

Revision as of 16:10, 6 December 2018

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)