rosdep-source command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rosdep-source: command not found
or when using sudo you get the following error message
sudo: rosdep-source: command not found
Solutions to rosdep-source: command not found
How To Fix rosdep-source: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rosdep-source is provided by python3-rosdep2 package.
python3-rosdep2 is:
This package is part of Robot OS (ROS). It is a command-line tool for installing system dependencies on a variety of platforms. For end-users, rosdep helps you install system dependencies for software that you are building from source. For developers, rosdep simplifies the problem of installing system dependencies on different platforms.
This package installs the library for Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-rosdep2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-rosdep2.
sudo apt -y install python3-rosdep2
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-rosdep2
Summary
In this tutorial we learn how to fix rosdep-source command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.