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

package 'turtlesim' not found

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

topological gravatar image

Hello, I'm using ROS melodic on Ubuntu and following tutorial 5 on wiki.ros.org, 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

Comments

Did you install ROS via apt?

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

1 Answer

Sort by ยป oldest newest most voted
0

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

muratcngncr gravatar image

Hi

Can you try

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

Comments

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 -0500 )edit

Try like this

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

Question Tools

2 followers

Stats

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

Seen: 2,063 times

Last updated: Aug 09 '22