How To Install device-mapper-libs on Fedora 36

In this tutorial we learn how to install device-mapper-libs in Fedora 36. device-mapper-libs is Device-mapper shared library

Introduction

In this tutorial we learn how to install device-mapper-libs on Fedora 36.

What is device-mapper-libs

This package contains the device-mapper shared library, libdevmapper.

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

Install device-mapper-libs 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 device-mapper-libs using dnf by running the following command:

sudo dnf -y install device-mapper-libs

Install device-mapper-libs 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 device-mapper-libs using yum by running the following command:

sudo yum -y install device-mapper-libs

How To Uninstall device-mapper-libs on Fedora 36

To uninstall only the device-mapper-libs package we can use the following command:

sudo dnf remove device-mapper-libs

device-mapper-libs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/4efc38c27269f1236f213dbf989434c7e9c41a
/usr/lib64/libdevmapper.so.1.02
/usr/share/licenses/device-mapper-libs
/usr/share/licenses/device-mapper-libs/COPYING
/usr/share/licenses/device-mapper-libs/COPYING.LIB

References

Summary

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