How to Install and Uninstall libdrm-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 27,2024

1. Install "libdrm-dev" package

Please follow the guidance below to install libdrm-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libdrm-dev

2. Uninstall "libdrm-dev" package

Please follow the step by step instructions below to uninstall libdrm-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove libdrm-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libdrm-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libdrm-dev
Architecture: amd64
Version: 2.4.107-8ubuntu1~20.04.2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libdrm
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 664
Depends: libdrm2 (= 2.4.107-8ubuntu1~20.04.2), libdrm-intel1 (= 2.4.107-8ubuntu1~20.04.2), libdrm-radeon1 (= 2.4.107-8ubuntu1~20.04.2), libdrm-nouveau2 (= 2.4.107-8ubuntu1~20.04.2), libdrm-amdgpu1 (= 2.4.107-8ubuntu1~20.04.2), libpciaccess-dev
Filename: pool/main/libd/libdrm/libdrm-dev_2.4.107-8ubuntu1~20.04.2_amd64.deb
Size: 131080
MD5sum: 49634e4ad9ec6876e27d9e9e43ceb1d3
SHA1: 4def743bc5477c8d7bbd7bd411ee68af7f90dbc0
SHA256: d3ad36b76164742dc51e0ad347764dcfcf5db4f5f75b399a78c2fd38f04baf76
SHA512: f14feb6954812491626d2a727f0cc73d9eef4bf09e50985f529aabb28c15c1baa0111bea0df659bb77450e4a082e3e66386f3ddd77beeb72ebffd33cd6d0231b
Homepage: https://cgit.freedesktop.org/mesa/drm/
Description: Userspace interface to kernel DRM services -- development files
Description-md5: 26367cfc3b23b21ad8b59e1f0974ff45

Package: libdrm-dev
Architecture: amd64
Version: 2.4.101-2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: libdrm
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian X Strike Force
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 643
Depends: libdrm2 (= 2.4.101-2), libdrm-intel1 (= 2.4.101-2), libdrm-radeon1 (= 2.4.101-2), libdrm-nouveau2 (= 2.4.101-2), libdrm-amdgpu1 (= 2.4.101-2)
Filename: pool/main/libd/libdrm/libdrm-dev_2.4.101-2_amd64.deb
Size: 125648
MD5sum: 4d93ae30ac81b6f20fa4b97a28d8a328
SHA1: 9d6cc8ffc31130bc6d2596f79e9a3657290e50c3
SHA256: 687eee17f0f7a4270b7dcea270df87cb64c7ac8de81fd057a87de2b4f284249b
Homepage: https://cgit.freedesktop.org/mesa/drm/
Description: Userspace interface to kernel DRM services -- development files
Description-md5: 26367cfc3b23b21ad8b59e1f0974ff45