Catkin command not found

Kathiravan Natarajan picture Kathiravan Natarajan · Dec 20, 2016 · Viewed 39.4k times · Source

I have installed ROS indigo and gazebo2 packages in Ubuntu 14.04.5. When I try to use catkin command, I get:

catkin_init_workspace : command not found

So, I tried to install catkin, it displays that ros-indigo-catkin is the latest version.

All I did was,

$ sudo apt-get install ros-indigo-desktop-full

$ sudo apt-get install gazebo2.<They're installed perfectly>

After this, I am getting catkin issue.

Help needed. Someone please find a way to fix this issue.

Answer

Arafat Mukasa picture Arafat Mukasa · Mar 12, 2019

Had almost the same issue when i tried to run this command (please refer to the pics attached).

$ catkin build

Screenshot for solution applied to solve catkin build error
I solved it by installing catkin ROS build system using the command below (references attached in the links and pictures attached). Screenshot for catkin build error

$ sudo apt-get install ros-kinetic-catkin python-catkin-tools