selftest_example command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
selftest_example: command not found
or when using sudo you get the following error message
sudo: selftest_example: command not found
Solutions to selftest_example: command not found
How To Fix selftest_example: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu selftest_example is provided by libself-test-tools package.
libself-test-tools is:
This package is part of Robot OS (ROS). It uses the diagnostic_updater to perform a self test on a driver, using a special service call.
This package contains the tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libself-test-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libself-test-tools.
sudo apt -y install libself-test-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install libself-test-tools
Summary
In this tutorial we learn how to fix selftest_example command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.