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

Revision history [back]

click to hide/show revision 1
initial version
mkdir -p /catkin_ws/src

you're missing the ~ (or tilde), which refers to your home directory on Linux.

Right now you're trying to create a directory in the root of your filesystem, which is typically not something you can do as an ordinary user.

You'll want to run something like this:

mkdir -p ~/catkin_ws/src

or (equivalent):

mkdir -p $HOME/catkin_ws/src