-
Notifications
You must be signed in to change notification settings - Fork 9
Home
The L-CAS build farm generates and provides Ubuntu packages for Ubuntu, usually for 64 bit AMD architectures (amd64
). L-CAS hosts these Ubuntu binary packages for general use (unless specifically available only in restricted repositories), but all software comes without warranties. The licenses of the respective software packages are unaffected by the availability of binaries in this repository. The L-CAS distribution is build upon LTS releases of Ubuntu and ROS respectively and directly uses them.
It also offers Continuous Integration services for software developed by L-CAS and affiliated partners and industries.
The L-CAS repository needs to be enabled on your machine to install our software in the most easy way. There is an easy batch install that carries out all steps on a freshly installed Ubuntu computer, or the full manual install. Both steps don't really install any of our software (just enable the repositories), but allow you to then easily install our packages.
The 'lcas-rosdistro.setup.bash` script is an easy way to configure a system completely very quickly (does all the steps below):
To make it simple, just copy this and paste in your shell:
-
sudo ls
(this is just to cache you admin password for the next steps) -
sudo apt-get update && sudo apt-get install curl
(curl is required for the next step) -
curl https://raw.githubusercontent.com/LCAS/rosdistro/master/lcas-rosdistro-setup.sh | bash -
(should install everything required)
If the above has worked, there's no need to read any further.
The recommended installation is via batch install detailed above. Here are the manual steps (but it's quick and easy nonetheless).
These steps are for a system administrator who wants to install L-CAS' released packages:
-
probably can be skipped: Install Ubuntu. Ensure you only install versions of Ubuntu supported by the L-CAS distribution. These are the LTS releases of Ubuntu for the amd64 architecture only! Currently we support Ubuntu 16.04 (ROS Kinetic) and Ubuntu 18.04 (ROS Melodic).
-
Enable the generic ROS repositories: Details to be found under
1. Installation
at http://wiki.ros.org/kinetic/Installation/Ubuntu#Installation, but here the gist of it:sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | sudo apt-key add -
-
Enable the L-CAS public repositories:
curl -s http://lcas.lincoln.ac.uk/repos/public.key | sudo apt-key add - sudo apt-add-repository http://lcas.lincoln.ac.uk/ubuntu/main
-
somewhat optional: Add the NVIDIA (CUDA) repositories. This is only needed for Ubuntu 18.04 and only if you intend to install packages that depend on CUDA. Safe bet if using Ubuntu 18.04 is to just enable these as well (won't hurt) and then also all packages requiring CUDA are available. Detailed instructions are here, but this will do:
curl -s https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub | sudo apt-key add - sudo add-apt-repository "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
-
update your index:
sudo apt-get update
Some packages are not released publicly, but sit in their own restricted repository. That repository can be added in addition to the one above with:
sudo apt-add-repository https://restricted:[email protected]/ubuntu/restricted
Obviously, PASSWORD
will not be published here, request it from [email protected] if you believe you should have it. Also, please not you need to have apt-transport-https
installed beforehand, e.g. by sudo apt-get install apt-transport-https
.
- install any packages you want using
sudo apt-get install <pkg-name>
- For our packages available for ROS kinetic on Ubuntu 16.04LTS, see released packages 'kinetic'
- For our packages available for ROS melodic on Ubuntu 18.04LTS, see released packages 'melodic'
- If you have some workspace with code of ROS packages, the following command will install all required dependencies (ONLY IF you have enabled
rosdep
as indicated below). This command recursively finds allpackage.xml
in your current source tree, starting from.
, and installs the corresponding apt packages:This will callrosdep update && rosdep install --from-paths . -i -y
apt install
withsudo
. If thepackage.xml
in the source tree correctly declared all dependencies then after this command you have everything installed to compile that package.
DISCLAIMER: If you just want to use L-CAS software, no need to read further than this. You are ready to go! The following is for people who want to develop and release L-CAS software.
We assume the previous steps of installing packages to have completed successfully here. The following is for anyone developing (hacking, compiling, debugging, testing,...) software in L-CAS. To all rosdep
to automatically resolve package names etc a few more configurations are necessary. Again, if you have run the batch installer, then this is already done for you.
In order to resolve packages that are not in the official ROS repositories, but in L-CAS' own, you need to make rosdep
aware of this.
- Initialise the rosdep system globally:
sudo rosdep init
- overwrite with L-CAS dependencies:
sudo curl -o /etc/ros/rosdep/sources.list.d/20-default.list https://raw.githubusercontent.com/LCAS/rosdistro/master/rosdep/sources.list.d/20-default.list sudo curl -o /etc/ros/rosdep/sources.list.d/50-lcas.list https://raw.githubusercontent.com/LCAS/rosdistro/master/rosdep/sources.list.d/50-lcas.list
The ROS index plays a vital role in any ROS system. L-CAS uses its own ROS distro configuration, which is the central configuration place listing all packages available for a ROS distribution. Our L-CAS fork of rosdistro is regularly (daily) updated, pulling in changes from the official ROS distro, but has our own packages added.
-
Tell ROS to use L-CAS' own ROS index! Put the following in
~/.config/rosdistro/config.yaml
:index_url: https://raw.github.com/lcas/rosdistro/master/index.yaml
easy one-liner:
mkdir -p ~/.config/rosdistro && echo "index_url: https://raw.github.com/lcas/rosdistro/master/index.yaml" >> ~/.config/rosdistro/config.yaml
-
update your rosdep cache:
rosdep update
-
Home (Using the L-CAS distribution)
- Releasing Packages
- rosdistro index status:
- batch install of L-CAS distribution on a fresh machine
- developer setting
- Cache Job:
- ROS2 Humble (on Ubuntu 22.04LTS, actively developed)
- ROS1 Melodic (on Ubuntu 18.04LTS, no longer developed)