Rookie learn Linux-tarball general steps to install

Source: Internet
Author: User

The so-called Tarball software, in effect, refers to the source package downloaded from the network. Usually ends with. tar.gz and tar.bz2. The difference between GZ and bz2 is that the compression algorithm is different (bz2 's compression effect seems to be better). After the source package has been downloaded, the source package needs to be extracted and then installed according to the following steps.

1. /configure-If you have the ability, we can fully confidently compile all the source code through GCC. However, we download to the source code if very large (mainly file many), then the direct GCC compilation is very difficult. The reason is: we need to be very clear about the software source code architecture, need to solve the dependencies of the codes. In order to reduce the difficulty of compiling, of course, by making the way to compile better. So, this step is used to generate makefile

2. make clear-used to clean up the remaining target files from the previous compilation. The success of this step is based on the premise that the clean target is defined in the makefile

3. Make-compile according to the content in makefile

4. Make install- makes will install the data compiled from the previous step into the intended directory according to the project in which the Makefile is installed in the file.

Rookie learn Linux-tarball general steps to install

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.