cdrwtool command not found

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

Introduction

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

cdrwtool: command not found

or when using sudo you get the following error message

sudo: cdrwtool: command not found

Solutions to cdrwtool: command not found

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

In Ubuntu cdrwtool is provided by udftools package.

udftools is:

This package contains a number of user-space tools related to creating filesystems in the UDF (Universal Disk Format), which is primarily used for DVDs, but sometimes also CD-ROMs and HDDs:

mkudffs - Format a device, creating an empty UDF filesystem udflabel - show or change UDF filesystem label udfinfo - show information about UDF filesystem wrudf - Maintains a UDF filesystem cdrwtool - Low-level drive management (e.g. set writing speed, format) pktsetup - Set up a packet writing device (/dev/pktcdvd0) for a drive

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

sudo apt-get -y install udftools

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

You can also use apt command to install udftools.

sudo apt -y install udftools

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

sudo aptitude install udftools

Summary

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