diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-06-27 11:04:49 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-06-27 11:08:23 +0200 |
commit | 3512c14353220046d7879e8f05321554c4254a6c (patch) | |
tree | 4caffdac3f94e8ba58156c15b1677608a17cd79f | |
parent | 36e2400d1c0249e81f910e48a967e0202d5a8d46 (diff) |
Update documentation
* install xds-agent from packaging
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r-- | README.md | 56 |
1 files changed, 54 insertions, 2 deletions
@@ -9,9 +9,61 @@ machine or container (where `xds-server` is running). > **SEE ALSO**: [xds-server](https://github.com/iotbzh/xds-server), a web server used to remotely cross build applications. -## How to run +## How to install xds-agent -First you need to download `xds-agent` tarballs from xds dashboard by clicking +### Install package for debian distro type + +```bash +export DISTRO="Debian_8.0" +wget -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/Release.key | sudo apt-key add - +sudo bash -c "cat >/etc/apt/sources.list.d/AGL.list<<EOL +#AGL +deb http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/ ./ +EOL +" +sudo apt-get update +sudo apt-get install agl-xds-agent-bin +``` + +The value 'DISTRO' can be set to {Debian_8.0, Debian_9.0, xUbuntu_16.04, xUbuntu_16.10, xUbuntu_17.04} + +Update the package +```bash +sudo apt-get update +sudo apt-get upgrade agl-xds-agent-bin +``` + +The files are install here: +```bash +/opt/AGL/agl-xds-agent +``` + +### Install package for rpm distro type + +#### openSUSE +```bash +export DISTRO="openSUSE_Leap_42.2" +sudo zypper ar http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/isv:LinuxAutomotive:app-Development.repo +sudo zypper ref +sudo zypper install agl-xds-agent +``` + +The value 'DISTRO' can be set to {openSUSE_Leap_42.2, openSUSE_Leap_42.3, openSUSE_Tumbleweed} + +Update the package +```bash +sudo zypper ref +sudo zypper install --force agl-xds-agent +``` + +The files are install here: +```bash +/opt/AGL/agl-xds-agent +``` + +## How to install on other platform + +You need to download `xds-agent` tarballs from xds dashboard by clicking on download icon ![download icon](./resources/images/download_icon.jpg) of configuration page. |