rosbuilder command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rosbuilder: command not found
or when using sudo you get the following error message
sudo: rosbuilder: command not found
Solutions to rosbuilder: command not found
How To Fix rosbuilder: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rosbuilder is provided by dh-ros package.
dh-ros is:
This package provides support for catkin and ament to build ROS and ROS 2 packages in Debian. It is particularly useful for upstream sources with multiple inter-dependent ROS packages, as it will figure out the correct build order automatically.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dh-ros
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dh-ros.
sudo apt -y install dh-ros
Or if you have aptitude installed you can use the following command.
sudo aptitude install dh-ros
Summary
In this tutorial we learn how to fix rosbuilder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.