Skip to main content

6.1 TROS

apt installation and

This section describes how to use apt to install TogetherROS.Bot on RDK and X86 platforms.

RDK

premise

  • The environmental preparation work in Chapter 1.1 has been completed
  • RDK 2.x version system has been installed
  • RDK can access the Internet normally
  • RDK can remote ssh
Dependencies1.x tros.b2.x tros.b
1.x system imagex
2.x system imagex

Install

Note: The RDK IP used here is 10.64.61.241. You need to replace it according to your own RDK IP during installation

Log in to RDK:

ssh root@10.64.61.241

Install the tros.b feature package:

Note: If you are prompted after running the installation command E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)., execute apt --fix-broken install the command to install related dependencies first and then install tros.b.

After the installation is complete, check the files in the /opt directory

root@ubuntu:/userdata# ls /opt/
hobot tros

You can see that tros.b has been installed in the /opt directory

Upgrading

Taking RDK installation as an example, the X86 Ubuntu upgrade method is the same as RDK.

Log in to RDK

ssh root@10.64.61.241

Upgrade the tros.b deb package

sudo apt update
sudo apt upgrade

View the current tros.b

X86

premise:

  • The environmental preparation work in Chapter 2.1 has been completed
  • The Ubuntu system is Ubuntu 20.04 and can access the Internet normally
  1. Set locale and enable universe software source
    sudo apt update && sudo apt install locales
    sudo locale-gen en_US en_US.UTF-8
    sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
    export LANG=en_US.UTF-8
    sudo apt install software-properties-common
    sudo add-apt-repository universe
  2. Download the gpg key file and add it to the sources list:
  3. Update source information and install tros.b:
    sudo apt update
    sudo apt install tros