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

catkin: command not found

asked 2020-11-13 00:18:34 -0500

pranav_jain gravatar image

I'm using ROS noetic on ubuntu 20.04 lt via WSL2. I'm trying to access the package through catkin build, I keep getting an error I'm new to ROS (beginner). So, I'm learning a tutorial from youtube. I've installed their git repository and following their steps. This is the command I input

catkin build ros_package_template

and I get this output

catkin: command not found
edit retag flag offensive close merge delete

Comments

So, I'm learning a tutorial from youtube. I've installed their git repository and following their steps.

It might make sense to ask "them" what is wrong then. "They" might know.

gvdhoorn gravatar image gvdhoorn  ( 2020-11-14 07:20:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-11-13 14:11:52 -0500

jschornak gravatar image

updated 2020-11-13 14:13:47 -0500

Have you run source /opt/ros/noetic/setup.bash in your current terminal window to update your environment variables to include the installed ROS package paths?

Section 1.5 of the Ubuntu ROS installation instructions has some more guidance about setting up your environment, such as adding the source command to your .bashrc file so it runs automatically when you start a new terminal.

edit flag offensive delete link more

Comments

catkin_tools is installed in the regular system locations, so shouldn't need sourceing any setup.bash file.

@pranav_jain: what is the output of dpkg -l | grep catkin-tools?

gvdhoorn gravatar image gvdhoorn  ( 2020-11-14 07:19:52 -0500 )edit

Question Tools

Stats

Asked: 2020-11-13 00:18:34 -0500

Seen: 642 times

Last updated: Nov 13 '20