cd-discid command not found

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

Introduction

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

cd-discid: command not found

or when using sudo you get the following error message

sudo: cd-discid: command not found

Solutions to cd-discid: command not found

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

In Ubuntu cd-discid is provided by cd-discid package.

cd-discid is:

In order to do CDDB queries over the Internet, you must know the DiscID of the CD you are querying. cd-discid provides you with that information. It outputs the discid, the number of tracks, the frame offset of all of the tracks, and the total length of the CD in seconds, on one line in a space-delimited format. cd-discid was designed as a backend tool for cdgrab (now abcde) but will work independently of it.

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

sudo apt-get -y install cd-discid

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

You can also use apt command to install cd-discid.

sudo apt -y install cd-discid

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

sudo aptitude install cd-discid

Summary

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