How To Install Eject In Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?
Install eject
-
Debian
apt-get install ejectClick to copy -
Ubuntu
apt-get install ejectClick to copy -
Alpine OS
apk add util-linuxClick to copy -
Arch Linux
pacman -S util-linuxClick to copy -
Kali Linux
apt-get install ejectClick to copy -
CentOS
yum install ejectClick to copy -
Fedora
dnf install util-linuxClick to copy -
Raspbian
apt-get install ejectClick to copy -
macOS
brew install ejectClick to copy
Eject cds, floppy disks and tape drives.
How to use eject?
Below are few example commands for eject that you can use in the terminal.
Display the default device:eject -dClick to copyEject the default device:ejectClick to copyEject a specific device (the default order is cd-rom, scsi, floppy and tape):eject /dev/cdromClick to copyToggle whether a device's tray is open or closed:eject -T /dev/cdromClick to copyEject a cd drive:eject -r /dev/cdromClick to copyEject a floppy drive:eject -f /mnt/floppyClick to copyEject a tape drive:eject -q /mnt/tapeClick to copy
Installing eject command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of eject 2026 package in your OS.




