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

Dear reader,

The installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Dear reader,

The installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Dear reader,

The installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' /etc/apt/sources.list.d/ros-latest.list'

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Your command may now look like:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'

Dear reader,

The installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Your command may now look like:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'

If you're going for multiple ROS Distro installations, use >> instead of > in the second command.

Dear reader,

The Ubuntu installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Your command may now look like:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'

If you're going for multiple ROS Distro installations, use >> instead of > in the second command.

Dear reader,

The UbuntuUbuntu installation page installation page gives the following first command:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Now if you are trying to install melodic on a Linux Distro not meant for melodic, for example I attempted installation on Ubuntu 20.04, then it will not add the repository for Melodic, but for Noetic (Ubuntu 20.04 or focal).

To install melodic, replace $(lsb_release -sc) in the above command by bionic (for Melodic) or say focal (for Noetic), or whichever Linux distro the ROS distro refers to..

Your command may now look like:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list'

If you're going for multiple ROS Distro installations, use >> instead of > in the second command.