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.
At the moment, the following distributions and architectures are supported:
Distribution | Version | Architecture |
---|---|---|
Ubuntu | 18.04 | amd64 |
Ubuntu | 20.04 | amd64 |
Ubuntu | 22.04 | amd64 |
Debian | 10 | amd64 |
Debian | 11 | amd64 |
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
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.