How To Install libdrm on Fedora 36

In this tutorial we learn how to install libdrm in Fedora 36. libdrm is Direct Rendering Manager runtime library

Introduction

In this tutorial we learn how to install libdrm on Fedora 36.

What is libdrm

Direct Rendering Manager runtime library

We can use yum or dnf to install libdrm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libdrm.

Install libdrm on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the libdrm package we can use the following command:

sudo dnf remove libdrm

libdrm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/a00e609a1cab0b6fa4048c69802e4fe40bd1a3
/usr/lib/.build-id/45
/usr/lib/.build-id/45/d5e4c01cee18fd77362d784cac35539d93edd2
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/9658f02f927e407f726274a403821622620ff9
/usr/lib/.build-id/75
/usr/lib/.build-id/75/114bb43bb043220f120f5c9d32548968084168
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/dd1c69a850954aa70fb89c96194b8447b887ae
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/592758405d9f5e6883c9deac879e13237d574d
/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/doc/libdrm
/usr/share/doc/libdrm/README.rst
/usr/share/libdrm
/usr/share/libdrm/amdgpu.ids

References

Summary

In this tutorial we learn how to install libdrm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libdrm on Fedora 36” linkTitle: “libdrm” type: “docs” description: “In this tutorial we learn how to install libdrm in Fedora 36. libdrm is Direct Rendering Manager runtime library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libdrm-featured.png

Introduction

In this tutorial we learn how to install libdrm on Fedora 36.

What is libdrm

Direct Rendering Manager runtime library

We can use yum or dnf to install libdrm on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libdrm.

Install libdrm on Fedora 36 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 Fedora 36 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 Fedora 36

To uninstall only the libdrm package we can use the following command:

sudo dnf remove libdrm

libdrm Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/8ccedcd0a1c9b8cffd8ecb2f4f430f89709cac
/usr/lib/.build-id/04
/usr/lib/.build-id/04/1b26c70b335196ffbf5cf6801d38890cf0e8ff
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/52ad914acf699243a1f7e503af0938de4ece0c
/usr/lib/.build-id/84
/usr/lib/.build-id/84/2dbc43d29248bf5a26e88c7dcb78d567737886
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/5acb9e3b431593e2783d1f5890717b9c17b727
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/9ef674852211eb83d1546db42760af9baab8f6
/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/doc/libdrm
/usr/share/doc/libdrm/README.rst
/usr/share/libdrm
/usr/share/libdrm/amdgpu.ids

References

Summary

In this tutorial we learn how to install libdrm on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).