I set the following command to terminal:
sudo apt install ros-noetic-
And it gives the following error:
E: Unable to locate package ros-noetic
How can I fix it ?!
note: I have already installed ROS according to the instructions at http://wiki.ros.org/noetic/Installation/Ubuntu on ubuntu 20.04
2
Answers
That’s not the full package name. You should instead be running
Maybe you didn’t set up your sources.list correctly. When you type
sudo apt install ros-
and then press[tab]
does it autocomplete tosudo apt install ros-noetic-
?If not check steps 1.1 to 1.3 again. 1
If it autocompletes then you can install
sudo apt install ros-noetic-desktop-full
. After this you have all the most common packages likerviz
,actionlib
etc. If you need any additional packages then install them withsudo apt install ros-noetic-<package name>
where<package name>
has to be replaced with the name of the package you want to install. Likesudo apt install ros-noetic-moveit
.