How To Install disk-utilities on CentOS 8

disk-utilities is Utilities for ripping, dumping, analysing, and modifying disk images

Introduction

In this tutorial we learn how to install disk-utilities on CentOS 8.

What is disk-utilities

Disk Utilities is a collection of utilities for ripping, dumping, analysing, and modifying disk images.

We can use yum or dnf to install disk-utilities on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install disk-utilities.

Install disk-utilities on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install disk-utilities

Install disk-utilities on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install disk-utilities using yum by running the following command:

sudo yum -y install disk-utilities

How To Uninstall disk-utilities on CentOS 8

To uninstall only the disk-utilities package we can use the following command:

sudo dnf remove disk-utilities

disk-utilities Package Contents on CentOS 8

/usr/bin/adfbb
/usr/bin/adfread
/usr/bin/adfwrite
/usr/bin/disk-analyse
/usr/bin/scp_dump
/usr/bin/scp_write
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/a81f1775b6483b331202e777aa1db67082fc45
/usr/lib/.build-id/41
/usr/lib/.build-id/41/01434d40a5274a66a6dba1a03b1652abc77cb6
/usr/lib/.build-id/49
/usr/lib/.build-id/49/ee484cbe77c96e26b1bc6932133c4af125a62b
/usr/lib/.build-id/58
/usr/lib/.build-id/58/682a188051fda131e899d5a9c1c05cd165e330
/usr/lib/.build-id/89
/usr/lib/.build-id/89/7f378e7849c314b26a6a42dab2c4a5419cc379
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/58745d29488d6f77fe078f2caa131709e476b0
/usr/share/disk-analyse
/usr/share/disk-analyse/formats
/usr/share/doc/disk-utilities
/usr/share/doc/disk-utilities/README.md
/usr/share/licenses/disk-utilities
/usr/share/licenses/disk-utilities/COPYING

References

Summary

In this tutorial we learn how to install disk-utilities on CentOS 8 using yum and dnf.