skip to Main Content

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


  1. That’s not the full package name. You should instead be running

    sudo apt install ros-noetic-desktop-full
    
    Login or Signup to reply.
  2. Maybe you didn’t set up your sources.list correctly. When you type sudo apt install ros- and then press [tab] does it autocomplete to sudo 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 like rviz, actionlib etc. If you need any additional packages then install them with sudo apt install ros-noetic-<package name> where <package name> has to be replaced with the name of the package you want to install. Like sudo apt install ros-noetic-moveit.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search