How To Install libdisk on Fedora 34

libdisk is A library for converting and manipulating disk images A library for converting and manipulating disk images

Introduction

In this tutorial we learn how to install libdisk on Fedora 34.

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. libdisk 2021.03.20 1.fc34 x86_64 128 k disk-utilities-2021.03.20-1.fc34.src.rpm updates A library for converting and manipulating disk images https Unlicense 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdisk.

Install libdisk on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libdisk using dnf by running the following command:

sudo dnf -y install libdisk

Install libdisk on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libdisk

libdisk Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/6a6e33c7c020bec6191bc467401d3127b5b80e
/usr/lib64/libdisk.so.0
/usr/lib64/libdisk.so.0.0
/usr/share/licenses/libdisk
/usr/share/licenses/libdisk/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/bd9d807f43e36a314255882f5eb2f5344f7561
/usr/lib/libdisk.so.0
/usr/lib/libdisk.so.0.0
/usr/share/licenses/libdisk
/usr/share/licenses/libdisk/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/1820b6c7e5511d1fa7aaf85808bef4f1ce90fe
/usr/lib/libdisk.so.0
/usr/lib/libdisk.so.0.0
/usr/share/licenses/libdisk
/usr/share/licenses/libdisk/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/40372adfded34784e66602a9fef02f23f70bfb
/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 Fedora 34 using yum and dnf.