Install eject by entering the following commands in the terminal:
sudo apt update sudo apt install eject
Description:
ejects CDs and operates CD-Changers under Linux
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.
Homepage: http://www.pobox.com/~tranter/eject.html
Version: 2.1.5+deb1+cvs20081104-13.2
Section: utils