How To Install eject on Debian 9
Introduction
In this tutorial we learn how to install eject
on Debian 9.
What is eject
eject is:
This little program will eject CD-ROMs (assuming your drive supports the CDROMEJECT ioctl). It also allows setting the autoeject feature.
On supported ATAPI/IDE multi-disc CD-ROM changers, it allows changing the active disc.
You can also use eject to properly disconnect external mass-storage devices like digital cameras or portable music players.
There are three methods to install eject
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 eject Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install eject
using apt-get
by running the following command:
Install eject Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install eject
using apt
by running the following command:
Install eject 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.
After updating apt database, We can install eject
using aptitude
by running the following command:
How To Uninstall eject on Debian 9
To uninstall only the eject
package we can use the following command:
Uninstall eject And Its Dependencies
To uninstall eject
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove eject Configurations and Data
To remove eject
configuration and data from Debian 9 we can use the following command:
Remove eject configuration, data, and all of its dependencies
We can use the following command to remove eject
configurations, data and all of its dependencies, we can use the following command:
Dependencies
eject have the following dependencies:
References
Summary
In this tutorial we learn how to install eject
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.