rosparam command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rosparam: command not found
or when using sudo you get the following error message
sudo: rosparam: command not found
Solutions to rosparam: command not found
How To Fix rosparam: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rosparam is provided by python3-rosparam package.
python3-rosparam is:
This package is part of Robot OS (ROS). rosparam contains the rosparam command-line tool for getting and setting ROS Parameters on the parameter server using YAML-encoded files. It also contains an experimental library for using YAML with the parameter server. This library is intended for internal use only.
This package contains the Python 3 library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-rosparam
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-rosparam.
sudo apt -y install python3-rosparam
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-rosparam
Summary
In this tutorial we learn how to fix rosparam command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.