How to Install or Uninstall drm-info on Ubuntu 22.04

Updated: October 29, 2022

drm-info dumps information about available drm device like available devices, planes, encoders, crtcs and connectors and their DRM properties. In this tutorial, I will show you ways to install drm-info Ubuntu 22.04.

Software Requirement

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install drm-info on Ubuntu 22.04

Install drm-info Ubuntu 22.04

drm-info is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install drm-info using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get drm-info on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install drm-info Ubuntu by pasting this command into the terminal and executing it.

sudo apt-get -y install drm-info

Install drm-info using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

After installing aptitude, you can now install drm-info, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install drm-info Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install drm-info

Uninstall drm-info on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just drm-info.

If you installed drm-info using APT or Aptitude, you could uninstall drm-info on Ubuntu by running this command

sudo apt remove --auto-remove drm-info

You can also execute this command if you want to uninstall drm-info and remove its data and dependencies:

sudo apt autoremove --purge drm-info

Conclusion

In this guide, I showed you ways to install drm-info on Ubuntu 22.04 and ways to uninstall drm-info too. Please contact me if you require any assistance. I’d be delighted to respond.