# Installing XDS client tools [xds-agent](https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/xds/xds-agent.git) is a client tool that must run on your machine (user / developer host) to be able to use XDS. You should establish the following chain: - XDS Client: (`xds-cli` or XDS Dashboard). - XDS Agent: (`xds-agent`) running on your machine. - XDS Server (`xds-server`) running on a remote server and/or in a container. Exchanges between these 3 tools are done though HTTP and Websocket protocols. Default url/port mentioned in schema below can be change using config files. ![XDS blocks chain](./pictures/xds-block-chain.png) Installation of other XDS client tools, such as `xds-cli` or `xds-gdb` is optional and depends of what you want to do: - [xds-cli](https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/xds/xds-cli.git) : command line tool to used to interact with XDS (also used by IDE integration). - [xds-gdb](https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/xds/xds-gdb.git) : requested for debugging application. ## Install packages for debian distro type ```bash # 'DISTRO' can be set to { xUbuntu_16.04, xUbuntu_16.10, xUbuntu_17.04, Debian_8.0, Debian_9.0 } export DISTRO="xUbuntu_16.04" # AGL_RELEASE can be set to {AGL_ElectricEel, AGL_FunkyFlounder, AGL_Master} export AGL_RELEASE="AGL_Master" wget -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/${AGL_RELEASE}/${DISTRO}/Release.key | sudo apt-key add - sudo bash -c "cat >> /etc/apt/sources.list.d/AGL.list <