How To Install libdrm on Rocky Linux 8
In this tutorial we learn how to install libdrm on Rocky Linux 8. libdrm is Direct Rendering Manager runtime library
Introduction
In this tutorial we learn how to install libdrm
on Rocky Linux 8.
What is libdrm
Direct Rendering Manager runtime library
We can use yum
or dnf
to install libdrm
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdrm.
Install libdrm on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libdrm
using dnf
by running the following command:
sudo dnf -y install libdrm
Install libdrm on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libdrm
using yum
by running the following command:
sudo yum -y install libdrm
How To Uninstall libdrm on Rocky Linux 8
To uninstall only the libdrm
package we can use the following command:
sudo dnf remove libdrm
libdrm Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/ecc731de810a167039a8af8776f95de83901d6
/usr/lib/.build-id/16
/usr/lib/.build-id/16/4e724ffae98676099dfb82d0d617a44bfa554f
/usr/lib/.build-id/42
/usr/lib/.build-id/42/af94cff402df7c81bd98ebedb420ee9897442c
/usr/lib/.build-id/66
/usr/lib/.build-id/66/8cc3aae60a3c1e2cedcab5fcbd5875cb76d712
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/9ab4c1dd763ef6c946da8897af4aa571a3a44c
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/660d462ed534ae2f1b17270bd440122ffadc9d
/usr/lib/udev/rules.d/91-drm-modeset.rules
/usr/lib64/libdrm.so.2
/usr/lib64/libdrm.so.2.4.0
/usr/lib64/libdrm_amdgpu.so.1
/usr/lib64/libdrm_amdgpu.so.1.0.0
/usr/lib64/libdrm_intel.so.1
/usr/lib64/libdrm_intel.so.1.0.0
/usr/lib64/libdrm_nouveau.so.2
/usr/lib64/libdrm_nouveau.so.2.0.0
/usr/lib64/libdrm_radeon.so.1
/usr/lib64/libdrm_radeon.so.1.0.1
/usr/lib64/libkms.so.1
/usr/lib64/libkms.so.1.0.0
/usr/share/libdrm
/usr/share/libdrm/amdgpu.ids
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/41128a9b78b70cb54a7d68d8d5ff7be1579ddc
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/83bfe2ba4e630a798e422a2171dc7cd0143cd6
/usr/lib/.build-id/c5/a17273b28bc39d0831baf9041e9e7cd01bf686
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/079686e72ffc4c0ddc78a598b81d130f205a81
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/262a4089acd7309882268f2b6ed10bc084fb58
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ab9ba9cacbde4b03d0c247996c62752ca74271
/usr/lib/libdrm.so.2
/usr/lib/libdrm.so.2.4.0
/usr/lib/libdrm_amdgpu.so.1
/usr/lib/libdrm_amdgpu.so.1.0.0
/usr/lib/libdrm_intel.so.1
/usr/lib/libdrm_intel.so.1.0.0
/usr/lib/libdrm_nouveau.so.2
/usr/lib/libdrm_nouveau.so.2.0.0
/usr/lib/libdrm_radeon.so.1
/usr/lib/libdrm_radeon.so.1.0.1
/usr/lib/libkms.so.1
/usr/lib/libkms.so.1.0.0
/usr/lib/udev/rules.d/91-drm-modeset.rules
/usr/share/libdrm
/usr/share/libdrm/amdgpu.ids
References
Summary
In this tutorial we learn how to install libdrm
on Rocky Linux 8 using yum and dnf.