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

package 'turtlesim' not found

asked 2022-08-09 07:27:45 -0600

topological gravatar image

Hello, I'm using ROS melodic on Ubuntu and following tutorial 5 on, and I am meant to be running turtlesim, but I am getting this message:

[rospack] Error: package 'turtlesim' not found

I am not getting results on google when searching for this error and to my understanding I thought turtlesim already came installed with ros. I am new to ROS so can anyone tell me why this error is happening?

edit retag flag offensive close merge delete


Did you install ROS via apt?

ravijoshi gravatar image ravijoshi  ( 2022-08-09 22:40:26 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-08-09 07:45:40 -0600

muratcngncr gravatar image


Can you try

sudo apt-get install ros-melodic-turtlesim
edit flag offensive delete link more


Hi, i tried that and i get this message:

E: Unable to locate package ros-melodic-turtlesim

topological gravatar image topological  ( 2022-08-09 08:27:18 -0600 )edit

Try like this

sudo apt-get install ros-$(rosversion -d)-turtlesim
muratcngncr gravatar image muratcngncr  ( 2022-08-09 08:36:00 -0600 )edit

Question Tools



Asked: 2022-08-09 07:27:45 -0600

Seen: 1,551 times

Last updated: Aug 09 '22