I would like to install gcc compiler by this command
apt install build-essential
and after pressing Yes, it asks me to insert some media.
Media change: please insert the disc labeled
'Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)'
in the drive '/media/cdrom/' and press [Enter]
and this prompt repeats again and again
What's wrong?
/etc/apt/sources.list
and add a "#" to the start of that line to make it not use the installation media (or if using desktop it can be done via gui tools too). It's usually a warning though, if yousudo apt update
you should see other lines that will provide the required packages. FYI: the date is the date of the ISO of the daily image of your install media; the .1 tells you it was the second daily for that day. – guiverc May 14 '20 at 08:09