How To Install genisoimage on CentOS 8

genisoimage is Creates an image of an ISO9660 file-system

Introduction

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

What is genisoimage

The genisoimage program is used as a pre-mastering program; i.e., it generates the ISO9660 file-system. Genisoimage takes a snapshot of a given directory tree and generates a binary image of the tree which will correspond to an ISO9660 file-system when written to a block device. Genisoimage is used for writing CD-ROMs, and includes support for creating boot-able El Torito CD-ROMs. Install the genisoimage package if you need a program for writing CD-ROMs.

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

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

sudo dnf -y install genisoimage

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

sudo yum -y install genisoimage

How To Uninstall genisoimage on CentOS 8

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

sudo dnf remove genisoimage

genisoimage Package Contents on CentOS 8

/usr/bin/genisoimage
/usr/bin/isodebug
/usr/bin/isodump
/usr/bin/isoinfo
/usr/bin/isovfy
/usr/bin/mkhybrid
/usr/bin/mkisofs
/usr/bin/pitchplay
/usr/bin/readmult
/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/57a251d7641a7004c9d038407769669dc2c68b
/usr/lib/.build-id/30
/usr/lib/.build-id/30/8189ef5886ee0df96954c10fa5ff4feb3fc8db
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/230e0ce6dce1d059b84ead1b4095ac917a3f4b
/usr/lib/.build-id/89
/usr/lib/.build-id/89/9edda89c3b38b740eb56e76547fc092088f06c
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/6a17b88e16c5a457a3b17c6a8a2e971ecc1a05
/usr/share/doc/genisoimage
/usr/share/doc/genisoimage/COPYING
/usr/share/doc/genisoimage/genisoimage
/usr/share/doc/genisoimage/genisoimage/README
/usr/share/doc/genisoimage/genisoimage/README.alphaboot
/usr/share/doc/genisoimage/genisoimage/README.compression
/usr/share/doc/genisoimage/genisoimage/README.eltorito
/usr/share/doc/genisoimage/genisoimage/README.graft_dirs
/usr/share/doc/genisoimage/genisoimage/README.hfs_boot
/usr/share/doc/genisoimage/genisoimage/README.hfs_magic
/usr/share/doc/genisoimage/genisoimage/README.hide
/usr/share/doc/genisoimage/genisoimage/README.hppaboot
/usr/share/doc/genisoimage/genisoimage/README.joliet
/usr/share/doc/genisoimage/genisoimage/README.macosx
/usr/share/doc/genisoimage/genisoimage/README.mipsboot
/usr/share/doc/genisoimage/genisoimage/README.mipselboot
/usr/share/doc/genisoimage/genisoimage/README.mkhybrid
/usr/share/doc/genisoimage/genisoimage/README.prep_boot
/usr/share/doc/genisoimage/genisoimage/README.releasenotes
/usr/share/doc/genisoimage/genisoimage/README.rootinfo
/usr/share/doc/genisoimage/genisoimage/README.session
/usr/share/doc/genisoimage/genisoimage/README.sort
/usr/share/doc/genisoimage/genisoimage/README.sparcboot
/usr/share/doc/genisoimage/genisoimage/README.sunx86boot
/usr/share/man/man1/genisoimage.1.gz
/usr/share/man/man1/isodebug.1.gz
/usr/share/man/man1/isodump.1.gz
/usr/share/man/man1/isoinfo.1.gz
/usr/share/man/man1/isovfy.1.gz
/usr/share/man/man1/pitchplay.1.gz
/usr/share/man/man1/readmult.1.gz
/usr/share/man/man5/genisoimagerc.5.gz

References

Summary

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