diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-24 17:41:05 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-24 17:41:05 +0200 |
commit | 19cb37ead6fcf99dd8316554110961b9f30e16e8 (patch) | |
tree | 445d8f5f1db7541bf56b9cc12e8a086ebd4703a9 /docs | |
parent | 2a4f9cac47af1b5c4197b9eaeeba7c081df05aa3 (diff) |
Added python3 dependency
Change-Id: Ie1a2788210d9be410fcc7cd701bbce576d5e013c
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/part-1/2-3_install-xds-server-native.md | 8 | ||||
-rw-r--r-- | docs/part-2/1_Prerequisites.md | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/docs/part-1/2-3_install-xds-server-native.md b/docs/part-1/2-3_install-xds-server-native.md index c7bfd55..bf9fb1a 100644 --- a/docs/part-1/2-3_install-xds-server-native.md +++ b/docs/part-1/2-3_install-xds-server-native.md @@ -4,6 +4,8 @@ You can chose to install xds-server 'natively' instead of within a docker container but note that only Linux host OSes are supported and tested for native installation ! +You also need to install `python3` to allow `xds-server` to manage AGL sdks. + ## Install packages for debian distro type ```bash @@ -17,6 +19,9 @@ EOF" sudo apt-get update sudo apt-get install agl-xds-server + +# Install python3 +sudo apt-get install python3 ``` ## Install packages for openSUSE distro type @@ -29,6 +34,9 @@ sudo zypper ar http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/a sudo zypper ref sudo zypper install agl-xds-server + +# Install python3 +sudo zypper install python3 ``` ## Configure xds-server diff --git a/docs/part-2/1_Prerequisites.md b/docs/part-2/1_Prerequisites.md index 29ba78b..2f0ef75 100644 --- a/docs/part-2/1_Prerequisites.md +++ b/docs/part-2/1_Prerequisites.md @@ -4,7 +4,7 @@ XDS is written in Go and currently only build on Linux host has been validated. So to build XDS binaries you need to install first [Go](https://golang.org/doc/install) version 1.8.1 or higher and some other tools. To build `xds-server` and `xds-agent` -you also need to install in addition `nodejs`. +you also need to install in addition `nodejs` and `python3` tools. **Ubuntu:** @@ -14,12 +14,15 @@ sudo apt-get install git make npm curl git zip unzip wget # Install Go source /etc/os-release -wget -O- "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | sudo apt-key add - +wget -O - "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x52B59B1571A79DBC054901C0F6BC817356A3D45E" | sudo apt-key add - sudo bash -c "cat >> /etc/apt/sources.list.d/golang.list <<EOF deb http://ppa.launchpad.net/longsleep/golang-backports/ubuntu ${VERSION_CODENAME} main EOF" sudo apt-get update sudo apt-get install golang-go + +# Install python3 +sudo apt-get install python3 ``` **openSUSE:** @@ -35,9 +38,8 @@ sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/go/${ sudo zypper --gpg-auto-import-keys ref sudo zypper install go1.9 -# Install nodejs LTS version (only mandatory for xds-server and xds-agent) -sudo npm install --global n @angular/cli -sudo n lts +# Install python3 +sudo zypper install python3 ``` > Don't forget to open new user session after installing these packages. |