apt binary packages repository

Debian binary packages are available in the following apt repository: http://robotpkg.openrobots.org/packages/debian/pub/.

Only a few debian-like distributions are supported. If you would like to use a not yet supported distribution, feel free to drop an e-mail to robotpkg@laas.fr explaining your use case and which packages you need.

Supported distributions and architecture

At the moment, the following distributions and architectures are supported:

DistributionVersionArchitecture
Ubuntu18.04amd64
Ubuntu20.04amd64
Ubuntu22.04amd64
Debian10amd64
Debian11amd64

Setting up the apt repository

First, download the robotpkg signing key like so:

% sudo mkdir -p /etc/apt/keyrings
% curl http://robotpkg.openrobots.org/packages/debian/robotpkg.asc |
   sudo tee /etc/apt/keyrings/robotpkg.asc

Check your distribution "codename" with the following command:

% lsb_release -c
Codename:       jammy

Then, register the apt repository for the desired architecture, for instance with the following command:

% sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF
deb [arch=amd64 signed-by=/etc/apt/keyrings/robotpkg.asc] http://robotpkg.openrobots.org/packages/debian/pub jammy robotpkg
EOF
        

You must of course replace the codename "jammy" by you actual distribution codename!

You need to run at least once apt-get update to fetch the package descriptions:

% sudo apt-get update

If you use apt-file, you must also fetch the package contents:

% sudo apt-file update

Installing packages

All robotpkg package names are prefixed by robotpkg-, so you can search for packages like so:

% apt-cache search robotpkg-

You can check the online index as well.

Individual packages can be installed by using apt-get install, aptitude or even synaptic. For instance:

% sudo apt-get install robotpkg-<PACKAGE>

Packages are always installed in the /opt/openrobots prefix, and install no files outside this prefix. To make use of installed libraries and programs, you probably need to configure your PATH, PKG_CONFIG_PATH, PYTHONPATH and other similar environment variables to point inside this prefix.