How To Install xorriso on CentOS 8

xorriso is ISO-9660 and Rock Ridge image manipulation tool

Introduction

In this tutorial we learn how to install xorriso on CentOS 8.

What is xorriso

Xorriso is a program which copies file objects from POSIX compliant filesystems into Rock Ridge enhanced ISO-9660 filesystems and allows session-wise manipulation of such filesystems. It can load management information of existing ISO images and it writes the session results to optical media or to filesystem objects. Vice versa xorriso is able to copy file objects out of ISO-9660 filesystems. Filesystem manipulation capabilities surpass those of mkisofs. Xorriso is especially suitable for backups, because of its high fidelity of file attribute recording and its incremental update sessions. Optical supported media DVD-RAM, BD-R and BD-RE.

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

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

sudo dnf -y install xorriso

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

sudo yum -y install xorriso

How To Uninstall xorriso on CentOS 8

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

sudo dnf remove xorriso

xorriso Package Contents on CentOS 8

/usr/bin/mkisofs
/usr/bin/osirrox
/usr/bin/xorrecord
/usr/bin/xorriso
/usr/bin/xorrisofs
/usr/lib/.build-id
/usr/lib/.build-id/77
/usr/lib/.build-id/77/35508179fcae000ac88e1e616a52c9fe046c78
/usr/share/info/xorrecord.info.gz
/usr/share/info/xorriso.info.gz
/usr/share/info/xorrisofs.info.gz
/usr/share/man/man1/xorrecord.1.gz
/usr/share/man/man1/xorriso.1.gz
/usr/share/man/man1/xorrisofs.1.gz

References

Summary

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