How To Install drm-info on Kali Linux

In this tutorial we learn how to install drm-info on Kali Linux. drm-info is Small utility to dump info about DRM devices

Introduction

In this tutorial we learn how to install drm-info on Kali Linux.

What is drm-info

drm-info is:

drm-info dumps information about available drm device like available devices, planes, encoders, crtcs and connectors and their DRM properties.

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

Install drm-info Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install drm-info

Install drm-info Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install drm-info

Install drm-info Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install drm-info

How To Uninstall drm-info on Kali Linux

To uninstall only the drm-info package we can use the following command:

sudo apt-get remove drm-info

Uninstall drm-info And Its Dependencies

To uninstall drm-info and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove drm-info

Remove drm-info Configurations and Data

To remove drm-info configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge drm-info

Remove drm-info configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge drm-info

Dependencies

drm-info have the following dependencies:

References

Summary

In this tutorial we learn how to install drm-info package on Kali Linux using different package management tools: apt, apt-get and aptitude.