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 | 12.04 | i386, amd64 |
Ubuntu | 14.04 | amd64 |
Ubuntu | 16.04 | amd64 |
Ubuntu | 18.04 | amd64 |
Ubuntu | 20.04 | amd64 |
Debian | 8 | amd64 |
Debian | 9 | amd64 |
Debian | 10 | amd64 |
First, check your distribution "codename" with the following command:
% lsb_release -c Codename: bionic
Then, tell apt where to find the package summary and other administrative files, for the desired architecture, for instance with the following command:
% sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub bionic robotpkg EOF
You must of course replace the codename "bionic" by you actual distribution codename!
Finally, register the robotpkg authentication key like so:
% curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
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.