How To Install ddcci-dkms on Ubuntu 18.04

In this tutorial we learn how to install ddcci-dkms on Ubuntu 18.04. ddcci-dkms is DDC/CI driver

Introduction

In this tutorial we learn how to install ddcci-dkms on Ubuntu 18.04.

What is ddcci-dkms

ddcci-dkms is:

This set of kernel modules provides a DDC/CI driver for compatible monitors, and integration into the backlight system class. With the latter, many desktop environments can control the backlight on external monitors.

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

Install ddcci-dkms Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ddcci-dkms

Install ddcci-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ddcci-dkms

Install ddcci-dkms 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install ddcci-dkms

How To Uninstall ddcci-dkms on Ubuntu 18.04

To uninstall only the ddcci-dkms package we can use the following command:

sudo apt-get remove ddcci-dkms

Uninstall ddcci-dkms And Its Dependencies

To uninstall ddcci-dkms and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ddcci-dkms

Remove ddcci-dkms Configurations and Data

To remove ddcci-dkms configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ddcci-dkms

Remove ddcci-dkms configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ddcci-dkms

References

Summary

In this tutorial we learn how to install ddcci-dkms package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.