How To Install libdisk on Rocky Linux 8

In this tutorial we learn how to install libdisk on Rocky Linux 8. libdisk is A library for converting and manipulating disk images

Introduction

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

What is libdisk

libdisk is a library for converting and manipulating disk images. It can create disk images in a range of formats from Kryoflux STREAM and SPS/IPF images (among others), and then allow these to be accessed and modified.

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

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

sudo dnf -y install libdisk

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

sudo yum -y install libdisk

How To Uninstall libdisk on Rocky Linux 8

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

sudo dnf remove libdisk

libdisk Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/3c9162da1661e9161b4d4d886c43970da4e1b7
/usr/lib64/libdisk.so.0
/usr/lib64/libdisk.so.0.0
/usr/share/licenses/libdisk
/usr/share/licenses/libdisk/COPYING

References

Summary

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