summaryrefslogtreecommitdiffstats
path: root/docs/part-2
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-24 17:41:05 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-24 17:41:05 +0200
commit19cb37ead6fcf99dd8316554110961b9f30e16e8 (patch)
tree445d8f5f1db7541bf56b9cc12e8a086ebd4703a9 /docs/part-2
parent2a4f9cac47af1b5c4197b9eaeeba7c081df05aa3 (diff)
Added python3 dependency
Change-Id: Ie1a2788210d9be410fcc7cd701bbce576d5e013c Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'docs/part-2')
-rw-r--r--docs/part-2/1_Prerequisites.md12
1 files changed, 7 insertions, 5 deletions
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.