How To Install cdde on Debian 9
Introduction
In this tutorial we learn how to install cdde
on Debian 9.
What is cdde
cdde is:
CDDE is a program that detects when a CD/DVD-ROM drive has a disc inserted. When it finds a disc inserted in the drive it will attempt to determine the type of the disc, and execute a specified command. This means a DVD can be inserted and your favorite DVD software will start, or a data CD can be automatically mounted, etc. The commands are defined in a configuration file that has simple XML syntax.
There are three methods to install cdde
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install cdde Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install cdde
using apt-get
by running the following command:
sudo apt-get -y install cdde
Install cdde Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cdde
using apt
by running the following command:
sudo apt -y install cdde
Install cdde Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cdde
using aptitude
by running the following command:
sudo aptitude -y install cdde
How To Uninstall cdde on Debian 9
To uninstall only the cdde
package we can use the following command:
sudo apt-get remove cdde
Uninstall cdde And Its Dependencies
To uninstall cdde
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove cdde
Remove cdde Configurations and Data
To remove cdde
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge cdde
Remove cdde configuration, data, and all of its dependencies
We can use the following command to remove cdde
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cdde
Dependencies
cdde have the following dependencies:
References
Summary
In this tutorial we learn how to install cdde
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.