How To Install device-mapper-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install device-mapper-libs
on Rocky Linux 8.
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 Rocky Linux 8. 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 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 device-mapper-libs
using dnf
by running the following command:
sudo dnf -y install device-mapper-libs
Install device-mapper-libs 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 device-mapper-libs
using yum
by running the following command:
sudo yum -y install device-mapper-libs
How To Uninstall device-mapper-libs on Rocky Linux 8
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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/8608df28c0b10d67c0f2ae00d7226aa21eb40e
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/33748500d3f0deff52efe4dd5fe19f27b4d426
/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 Rocky Linux 8 using yum and dnf.