ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's just a text file, so you can edit it using nano, vim, joe, gedit, anything.

On my system (ROS Melodic on Ubuntu Bionic) ros-latest.list contains:

deb http://packages.ros.org/ros/ubuntu bionic main

Note the bionic between http://packages.ros.org/ros/ubuntu and main.

It's just a text file, so you can edit it using nano, vim, joe, gedit, anything.anything. You will need to use sudo though, as it's a file in a non-world-writable location (ie: only root may change it).

On my system (ROS Melodic on Ubuntu Bionic) ros-latest.list contains:

deb http://packages.ros.org/ros/ubuntu bionic main

Note the bionic between http://packages.ros.org/ros/ubuntu and main.

The following command will write this line to the ros-latest.list file:

echo "deb http://packages.ros.org/ros/ubuntu bionic main" | sudo tee /etc/ros/rosdep/sources.list.d/ros-latest.list