How to Install and Uninstall libdrm2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: February 03,2025

1. Install "libdrm2" package

This guide covers the steps necessary to install libdrm2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libdrm2

2. Uninstall "libdrm2" package

Learn how to uninstall libdrm2 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libdrm2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdrm2 package on Ubuntu 21.04 (Hirsute Hippo)

Package: libdrm2
Architecture: amd64
Version: 2.4.104-1build1
Multi-Arch: same
Priority: standard
Section: libs
Source: libdrm
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119
Depends: libdrm-common (>= 2.4.104-1build1), libc6 (>= 2.33)
Filename: pool/main/libd/libdrm/libdrm2_2.4.104-1build1_amd64.deb
Size: 32132
MD5sum: 4301cedd3ec89d67d53dfd7aa87ddc1d
SHA1: 56fb7093469b58e6b56646a63d3a8bd05255c1f2
SHA256: b176e1181461ec7d660d5e037d44097195038174827cfe675e8bc37c2927c978
SHA512: 1a71e34bec892044d954371ee44d852f507a07e50f24ac65ba15558b6e63ea92831ab0975a0d42c68390ad9537879c422dfb14f7abf098c561bcf130ccc0e3a1
Homepage: https://cgit.freedesktop.org/mesa/drm/
Description-en: Userspace interface to kernel DRM services -- runtime
This library implements the userspace interface to the kernel DRM
services. DRM stands for "Direct Rendering Manager", which is the
kernelspace portion of the "Direct Rendering Infrastructure" (DRI).
The DRI is currently used on Linux to provide hardware-accelerated
OpenGL drivers.
.
This package provides the runtime environment for libdrm.
Description-md5: aefc4200d84a6f2aee6f342bdd88dc24
Task: standard