How to install OSM client: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
(Created page with "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 instal...")
 
(Adding env vars to procedure)
Line 4: Line 4:
  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
export OSM_HOSTNAME=127.0.0.1 # IP of the OSM server
export OSM_SOL005=True

Revision as of 17:57, 29 October 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 http://osm-download.etsi.org/repository/osm/debian/ReleaseFOUR/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 apt-get update
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

export OSM_HOSTNAME=127.0.0.1 # IP of the OSM server export OSM_SOL005=True