Installing Catkin
It is a one line command
sudo apt install python-catkin-tools
#
Install Missing Dependencies Automatically# Navigate to the root path of the caktin workspace, e.g. cd /home/user/catkin_ws/rosdep install --from-paths src --ignore-src -r -y
#
Source catkin_ws in bashrc# Navigate to the root path of the catkin workspace, e.g. cd /home/bashrc, CTRL+h to show the bashrc filesource /home/catkin_ws/devel/setup.bash
Reference: http://wiki.ros.org/rosdep