Ubuntu make cannot be installed

Source: Internet
Author: User
The bug that make cannot be installed in ubuntu helps students install the environment on their servers. the following error occurs: command line code Theprogram & amp; #39; make & amp; #39; iscurrentlynotinstalled. youcaninstallitbytyping :...
During The installation of The environment on ubuntu Server, The make command cannot be used. The prompt is: The command line code The program 'make' is currently not installed. you can install it by typing: apt-get install make www.2cto.com try: sudo apt-get install make prompt: command line code Reading package lists... done Building dependency tree Reading state information... done
Package make is not available, but is referred to by another package. this may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'make 'has no installation candidate network can be connected, and then try: the [Waiting for headers] prompt at the end of sudo apt-get update indicates that the system source cannot be used;
Update ubuntu source (http://www.2cto.com/ OS /201209/155695.html): www.2cto.com 1. First back up Ubuntu source list sudo cp/etc/apt/sources. list/etc/apt/sources. list. backup (backup of the current source list, ready for use) 2. modify and update the source sudo vim/etc/apt/sources. list (open the Ubuntu 12.04 source list file)
3. paste the following code (the line starting with "#" is a comment and can be copied directly to the file) 4. notify ubuntu to enable the new update source sudo apt-get update5, run sudo apt-get install build-essential, and then run the make command ..
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.