How To Install lvm2-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install lvm2-libs
on Rocky Linux 8.
What is lvm2-libs
This package contains shared lvm2 libraries for applications.
We can use yum
or dnf
to install lvm2-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lvm2-libs.
Install lvm2-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 lvm2-libs
using dnf
by running the following command:
sudo dnf -y install lvm2-libs
Install lvm2-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 lvm2-libs
using yum
by running the following command:
sudo yum -y install lvm2-libs
How To Uninstall lvm2-libs on Rocky Linux 8
To uninstall only the lvm2-libs
package we can use the following command:
sudo dnf remove lvm2-libs
lvm2-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/e4ca38dc0546f20a778c487ddab404837fb0d8
/usr/lib/.build-id/39
/usr/lib/.build-id/39/77ff2dcbdf09d22e8f68cc922e89ea1329d803
/usr/lib/.build-id/44
/usr/lib/.build-id/44/09c0cef4b0371e85158e92175761271080adbf
/usr/lib/.build-id/63
/usr/lib/.build-id/63/eb4670c524dbe4d4a0897e9526df16026f1f20
/usr/lib/.build-id/74
/usr/lib/.build-id/74/3e35e4fb1263b673b55deff7f6de87a0f3f0c5
/usr/lib/.build-id/78
/usr/lib/.build-id/78/e156f9f8e956162122e5f1757ef26071ab1e54
/usr/lib/.build-id/87
/usr/lib/.build-id/87/e3ac5053e95bd2d1abfd882c537fa485be8c5d
/usr/lib64/device-mapper
/usr/lib64/device-mapper/libdevmapper-event-lvm2mirror.so
/usr/lib64/device-mapper/libdevmapper-event-lvm2raid.so
/usr/lib64/device-mapper/libdevmapper-event-lvm2snapshot.so
/usr/lib64/device-mapper/libdevmapper-event-lvm2thin.so
/usr/lib64/device-mapper/libdevmapper-event-lvm2vdo.so
/usr/lib64/libdevmapper-event-lvm2.so.2.03
/usr/lib64/libdevmapper-event-lvm2mirror.so
/usr/lib64/libdevmapper-event-lvm2raid.so
/usr/lib64/libdevmapper-event-lvm2snapshot.so
/usr/lib64/libdevmapper-event-lvm2thin.so
/usr/lib64/libdevmapper-event-lvm2vdo.so
/usr/lib64/liblvm2cmd.so.2.03
/usr/share/licenses/lvm2-libs
/usr/share/licenses/lvm2-libs/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/e2eff54ded528f638349c5748d1ff6bc73c184
/usr/lib/.build-id/73
/usr/lib/.build-id/73/16651d8a5e1cdb569248270fea759089fdbd50
/usr/lib/.build-id/91
/usr/lib/.build-id/91/670e53398edc51c696e4b31b3e46c3cffa8c9a
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/18765fbeae4f2e0ecb343b87ffd4213e8ca8a1
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/c6dd4d24f2de425ed735b74b6532ea0e2decd6
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/3bb6045d0a2741b165ac77d8929fc3bbc922a7
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/c8adc48d7adf3b7bb8b78333aa7034f609cb9e
/usr/lib/device-mapper
/usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so
/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so
/usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so
/usr/lib/device-mapper/libdevmapper-event-lvm2thin.so
/usr/lib/device-mapper/libdevmapper-event-lvm2vdo.so
/usr/lib/libdevmapper-event-lvm2.so.2.03
/usr/lib/libdevmapper-event-lvm2mirror.so
/usr/lib/libdevmapper-event-lvm2raid.so
/usr/lib/libdevmapper-event-lvm2snapshot.so
/usr/lib/libdevmapper-event-lvm2thin.so
/usr/lib/libdevmapper-event-lvm2vdo.so
/usr/lib/liblvm2cmd.so.2.03
/usr/share/licenses/lvm2-libs
/usr/share/licenses/lvm2-libs/COPYING.LIB
References
Summary
In this tutorial we learn how to install lvm2-libs
on Rocky Linux 8 using yum and dnf.