How To Install libudisks2 on Rocky Linux 8

In this tutorial we learn how to install libudisks2 on Rocky Linux 8. libudisks2 is Dynamic library to access the udisksd daemon

Introduction

In this tutorial we learn how to install libudisks2 on Rocky Linux 8.

What is libudisks2

This package contains the dynamic library, which provides access to the udisksd daemon.

We can use yum or dnf to install libudisks2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libudisks2.

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

sudo dnf -y install libudisks2

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

sudo yum -y install libudisks2

How To Uninstall libudisks2 on Rocky Linux 8

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

sudo dnf remove libudisks2

libudisks2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/26c95b911ff74698573e50aca4473e85e012ab
/usr/lib64/girepository-1.0/UDisks-2.0.typelib
/usr/lib64/libudisks2.so.0
/usr/lib64/libudisks2.so.0.0.0
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/d70a33c6b7b90d009fc36d55a21d5072c46fe7
/usr/lib/girepository-1.0/UDisks-2.0.typelib
/usr/lib/libudisks2.so.0
/usr/lib/libudisks2.so.0.0.0

References

Summary

In this tutorial we learn how to install libudisks2 on Rocky Linux 8 using yum and dnf.