ratbagctl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ratbagctl: command not found
or when using sudo you get the following error message
sudo: ratbagctl: command not found
Solutions to ratbagctl: command not found
How To Fix ratbagctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ratbagctl is provided by ratbagd package.
ratbagd is:
ratbagd provides access over D-Bus to settings exposed by libratbag, such as DPI and button mappings on gaming mice.
It currently supports some Etekcity, G.Skill, Roccat, and SteelSeries mice, most Logitech gaming mice, and some Logitech keyboards and non-gaming mice.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ratbagd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ratbagd.
sudo apt -y install ratbagd
Or if you have aptitude installed you can use the following command.
sudo aptitude install ratbagd
Summary
In this tutorial we learn how to fix ratbagctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.