Make & amp; make install in linux

Source: Internet
Author: User

Make & make install in linux

Make and make install are typical installation steps for programs generated by using gnu autoconf and AUTOMAKE.

Make is used for compilation. after entering the make command in the command line, the system will search for the Makefile or makefile file in the current directory. It will read the command from the Makefile and then compile it.
Make install is used for installation. It also reads commands from Makefile and installs them to the specified location.

 

Make, this step is to compile, and most of the source code packages are compiled through this step (of course, some software written in perl or Python needs to call perl or python for compilation ). If an error occurs during the make process, you need to write down the error code (note that it is not just the last line), and then you can submit the bugreport to the developer (generally there is a submission address in INSTALL ), or your system has less dependent libraries, and you need to carefully study the error code.

Make insatll. This command is used for installation (of course, some software must first run make check or make test for some tests ), this step usually requires you to have the root permission (because you need to write files to the system ).

 

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.