cd-info command not found

In this troubleshooting guide we learn how to fix cd-info command not found error message

Introduction

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

cd-info: command not found

or when using sudo you get the following error message

sudo: cd-info: command not found

Solutions to cd-info: command not found

How To Fix cd-info: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cd-info is provided by libcdio-utils package.

libcdio-utils is:

This package contains a collection of small libcdio-based tools:

  • cd-drive show CD-ROM drive characteristics
  • cd-info show information about a CD or CD-image
  • cd-paranoia an audio CD ripper
  • cd-read read information from a CD or CD-image
  • cdda-player a simple curses-based audio CD player
  • iso-info show information about an ISO 9660 image
  • iso-read read portions of an ISO 9660 image
  • mmc-tool issue low-level commands to a CD drive

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

sudo apt-get -y install libcdio-utils

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

You can also use apt command to install libcdio-utils.

sudo apt -y install libcdio-utils

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

sudo aptitude install libcdio-utils

Summary

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