mkisofs command not found

In this troubleshooting guide we learn how to fix mkisofs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mkisofs: command not found

or when using sudo you get the following error message

sudo: mkisofs: command not found

Solutions to mkisofs: command not found

How To Fix mkisofs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mkisofs is provided by genisoimage package.

genisoimage is:

genisoimage is a pre-mastering program for creating ISO-9660 CD-ROM filesystem images, which can then be written to CD or DVD media using the wodim program. genisoimage includes support for making bootable “El Torito” CDs, as well as CDs with support for the Macintosh HFS filesystem.

The package also includes extra tools useful for working with ISO images:

  • mkzftree - create ISO-9660 image with compressed contents
  • dirsplit - easily separate large directory contents into disks of predefined size
  • geteltorito - extract an El Torito boot image from a CD image

Please install cdrkit-doc if you want most of the documentation and README files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install genisoimage

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install genisoimage.

sudo apt -y install genisoimage

Or if you have aptitude installed you can use the following command.

sudo aptitude install genisoimage

Summary

In this tutorial we learn how to fix mkisofs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.