aboutsummaryrefslogtreecommitdiffstats
path: root/docs/part-2/1_Prerequisites.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/part-2/1_Prerequisites.md')
-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.