catkin: command not found
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
Asked by pranav_jain on 2020-11-13 01:18:34 UTC
Answers
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.
Asked by jschornak on 2020-11-13 15:11:52 UTC
Comments
catkin_tools
is installed in the regular system locations, so shouldn't need source
ing any setup.bash
file.
@pranav_jain: what is the output of dpkg -l | grep catkin-tools
?
Asked by gvdhoorn on 2020-11-14 08:19:52 UTC
Comments
It might make sense to ask "them" what is wrong then. "They" might know.
Asked by gvdhoorn on 2020-11-14 08:20:38 UTC