How To Install libratbag-dev on Debian 9

In this tutorial we learn how to install libratbag-dev on Debian 9. libratbag-dev is configuration library for gaming mice - development files

Introduction

In this tutorial we learn how to install libratbag-dev on Debian 9.

What is libratbag-dev

libratbag-dev is:

libratbag is a configuration library for gaming mice. It provides a generic way to access the various features exposed by these mice and abstracts away hardware-specific and kernel-specific quirks.

It currently supports some Etekcity and Roccat mice, and most Logitech mice (both gaming and generic mice).

This package contains the files required to build software using libratbag.

There are three methods to install libratbag-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libratbag-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libratbag-dev using apt-get by running the following command:

sudo apt-get -y install libratbag-dev

Install libratbag-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libratbag-dev using apt by running the following command:

sudo apt -y install libratbag-dev

Install libratbag-dev Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libratbag-dev using aptitude by running the following command:

sudo aptitude -y install libratbag-dev

How To Uninstall libratbag-dev on Debian 9

To uninstall only the libratbag-dev package we can use the following command:

sudo apt-get remove libratbag-dev

Uninstall libratbag-dev And Its Dependencies

To uninstall libratbag-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libratbag-dev

Remove libratbag-dev Configurations and Data

To remove libratbag-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libratbag-dev

Remove libratbag-dev configuration, data, and all of its dependencies

We can use the following command to remove libratbag-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libratbag-dev

Dependencies

libratbag-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libratbag-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.