GNU/Linux Ubuntu Adding ROS 1 Repo Guide
Hi! The Tutorial shows you Step-by-Step How to Add ROS 1 LTS Repository in Ubuntu-Based GNU/Linux OSes.
And ROS for Ubuntu is a flexible Framework for writing Robot Software.
So this Repo Setup is Valid for All the Ubuntu-based Distros like:
- Linux Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Elementary OS
- Linux Lite
- Bodhi Linux
- Kde Neon
- Pop!_OS
- Voyager
- Trisquel
- LXLE
- feren OS
- Peppermint
- Q4OS
- Linux Ultimate Edition
-
1. Launching Terminal
How to QuickStart with Command Line on Ubuntu
-
2. Adding ROS 1 Repo
Then to Add ROS 1 Repository for Ubuntu
For Ubuntu 20.04+ based Desktops, and so also for: Mint 20.x, Elementary OS 6.x, Zorin OS 16.x… Run:sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu focal main" >> /etc/apt/sources.list.d/ros-latest.list'
Instead, for Ubuntu 18.04, Mint 19.x, Elementary OS 5.x, Zorin OS 15.x, Bodhi 5.x, Lite 4.x… Play:sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" >> /etc/apt/sources.list.d/ros-latest.list'
-
3. Adding ROS GPG Key
Again to Add ROS GPG Signature Key
Simply play:wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc -O - | sudo apt-key add -
(For the Newer Release in case of apt-key Issue see: Gpg.d Keyring Setup Guide.) -
4. Refreshing Ubuntu Repo Sources
Next to Refresh Ubuntu Apt Repository Sources
Play:sudo apt update
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Contents