Enable Ubuntu to install build-essential without installation from the CD

Source: Internet
Author: User

When sudo apt-Get install build-essential is installed, the following message is displayed:

Media change: Please insert the disc labeled
'Ubuntu 8.04.2 _ hard heron _-release i386 (20090121 )'
In the drive '/CDROM/' and press ENTER

 

You can install the following solution:

You need to edit your sources file.
Of course you shoshould always make a backup first.

Code:

Sudo CP/etc/APT/sources. List sources. List. Bak

At the top you will see a line that starts like:

Deb CDROM: Blah blah

Put a # infront of it. Then save.

From: http://ubuntuforums.org/showthread.php? T = 436647

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.