From 31c7ea2f0f9f5ef75e895145cd3fcd1f7032c221 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 8 Jan 2020 18:14:13 +0100 Subject: [PATCH] Fix osm client install procedure in 03 and 10 Signed-off-by: garciadeblas --- 03-installing-osm.md | 2 +- 10-osm-client-commands-reference.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/03-installing-osm.md b/03-installing-osm.md index 0055a62..8d7ac31 100644 --- a/03-installing-osm.md +++ b/03-installing-osm.md @@ -271,7 +271,7 @@ sudo sed -i "/osm-download.etsi.org/d" /etc/apt/sources.list wget -qO - https://osm-download.etsi.org/repository/osm/debian/ReleaseSEVEN/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/ReleaseSEVEN stable devops osmclient" sudo apt-get update -sudo -H pip3 install python-magic pyangbind +sudo -H python3 -m pip install python-magic pyangbind sudo apt-get install python3-osmclient ``` diff --git a/10-osm-client-commands-reference.md b/10-osm-client-commands-reference.md index 452b8f2..9bd3a1f 100644 --- a/10-osm-client-commands-reference.md +++ b/10-osm-client-commands-reference.md @@ -148,7 +148,7 @@ Then you can add the following to your $HOME/.bashrc file: ```bash # Ubuntu 18.04 pre-requirements -sudo apt-get install python3-pip libcurl4-gnutls-dev +sudo apt-get install python3-pip libcurl4-openssl-dev libssl-dev # CentOS pre-requirements # sudo yum install python3-pip libcurl-devel gnutls-devel sudo -H python3 -m pip install python-magic @@ -164,9 +164,9 @@ sudo -H python3 -m pip install git+https://osm.etsi.org/gerrit/osm/osmclient@v7. ### Installing from cloned repo (for developers) ```bash -# Ubuntu 18.04 pre-requirements +# Ubuntu 18.04 pre-requirements sudo apt-get install python3-pip libcurl4-openssl-dev libssl-dev -# Centos pre-requirements: +# Centos pre-requirements # sudo yum install python3-pip libcurl-devel gnutls-devel sudo -H python3 -m pip install python-magic # Install OSM Information model -- GitLab