ratbagd command not found

In this troubleshooting guide we learn how to fix ratbagd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ratbagd: command not found

or when using sudo you get the following error message

sudo: ratbagd: command not found

Solutions to ratbagd: command not found

How To Fix ratbagd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ratbagd 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 ratbagd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.