How To Install cd-discid on Kali Linux

In this tutorial we learn how to install cd-discid on Kali Linux. cd-discid is CDDB DiscID utility

Introduction

In this tutorial we learn how to install cd-discid on Kali Linux.

What is cd-discid

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.

There are three methods to install cd-discid on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cd-discid Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install cd-discid using apt-get by running the following command:

sudo apt-get -y install cd-discid

Install cd-discid Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cd-discid using apt by running the following command:

sudo apt -y install cd-discid

Install cd-discid Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cd-discid using aptitude by running the following command:

sudo aptitude -y install cd-discid

How To Uninstall cd-discid on Kali Linux

To uninstall only the cd-discid package we can use the following command:

sudo apt-get remove cd-discid

Uninstall cd-discid And Its Dependencies

To uninstall cd-discid and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove cd-discid

Remove cd-discid Configurations and Data

To remove cd-discid configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge cd-discid

Remove cd-discid configuration, data, and all of its dependencies

We can use the following command to remove cd-discid configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cd-discid

Dependencies

cd-discid have the following dependencies:

References

Summary

In this tutorial we learn how to install cd-discid package on Kali Linux using different package management tools: apt, apt-get and aptitude.