cdrecord command not found

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

Introduction

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

cdrecord: command not found

or when using sudo you get the following error message

sudo: cdrecord: command not found

Solutions to cdrecord: command not found

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

In Ubuntu cdrecord is provided by wodim package.

wodim is:

wodim allows you to create CDs or DVDs on a CD/DVD recorder. It supports writing data, audio, mixed, multi-session, and CD+ disc and DVD data and video disks on DVD capable devices, on just about every type of CD/DVD recorder out there.

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 wodim

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

You can also use apt command to install wodim.

sudo apt -y install wodim

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

sudo aptitude install wodim

Summary

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