How To Install libddcutil4 on Debian 12

Learn how to install libddcutil4 on Debian 12 with this tutorial. libddcutil4 is Control monitor settings - shared library

Introduction

In this tutorial we learn how to install libddcutil4 on Debian 12.

What is libddcutil4

libddcutil4 is:

This is the shared library version of ddcutil.

ddcutil communicates with monitors implementing MCCS (Monitor Control Command Set). Normally, communication is performed using the DDC/CI protocol on the I2C bus. Alternatively, communication can be performed over USB as per the USB Monitor Control Class Specification.

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

Install libddcutil4 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libddcutil4

Install libddcutil4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libddcutil4 using apt by running the following command:

sudo apt -y install libddcutil4

Install libddcutil4 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 libddcutil4 using aptitude by running the following command:

sudo aptitude -y install libddcutil4

How To Uninstall libddcutil4 on Debian 12

To uninstall only the libddcutil4 package we can use the following command:

sudo apt-get remove libddcutil4

Uninstall libddcutil4 And Its Dependencies

To uninstall libddcutil4 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libddcutil4

Remove libddcutil4 Configurations and Data

To remove libddcutil4 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libddcutil4

Remove libddcutil4 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libddcutil4

Dependencies

libddcutil4 have the following dependencies:

References

Summary

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