rosstack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rosstack: command not found
or when using sudo you get the following error message
sudo: rosstack: command not found
Solutions to rosstack: command not found
How To Fix rosstack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rosstack is provided by rospack-tools package.
rospack-tools is:
This package is part of Robot OS (ROS). rospack is a command-line tool for retrieving information about ROS packages available on the filesystem. It implements a wide variety of commands ranging from locating ROS packages in the filesystem, to listing available stacks, to calculating the dependency tree of stacks. It is also used in the ROS build system for calculating build information for packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rospack-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rospack-tools.
sudo apt -y install rospack-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install rospack-tools
Summary
In this tutorial we learn how to fix rosstack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.