How to install OSM client: Difference between revisions
From OSM Public Wiki
mNo edit summary |
Garciadeblas (talk | contribs) 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 | 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] | 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 | After the installation completes, you might want to add the following environment variables to your .bashrc file: | ||
export OSM_HOSTNAME=127.0.0.1 | export OSM_HOSTNAME=<OSM_host> # IP of the OSM server (default: 127.0.0.1) | ||
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)