Install GCC and G ++ in Ubuntu7.10

Source: Internet
Author: User
When Ubuntu7.10 is just installed, gcc in the system cannot be used for development. Common header files and library files are missing, and the build-essential package needs to be installed. Sudoapt-getinstallbuild-essential Note: if your system → system management→ software source, the following CD-ROM is selected with an error: replace media: Please mark it with "Ubuntu7.10 _ GutsyGibbon _

When Ubuntu7.10 is just installed, gcc in the system cannot be used for development. Common header files and library files are missing, and the build-essential package needs to be installed.

Sudo apt-get install build-essential

NOTE: If your system → system management→ software source, the following CD-ROM is selected with an error:

Change Media: Please mark

"Ubuntu 7.10 _ Gutsy Gibbon _-Release i386 (20071016.1 )"

Disk


Insert the drive "/cdrom/" and press Enter.

What shoshould I do next? Idon't have the "Ubuntu 7.10 _ Gutsy Gibbon _-Release i386 (20071016.1) disc.

First, confirm that you have installed the build-essential package:

Apt-get install build-essential

Make sure that you have installed the kernel header package:

Uname-r

Apt-get install linux-headers-'kernel version'

Related Article

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.