CentOS compiled source code

Source: Internet
Author: User

Compile Python3 For example:

1. Download the source package (may be. tar.gz, tar.bz2 format, or it may be downloaded from git)

2. Get the source package decompression

Source files: usually. C. py and the like

Detection file: The name is usually configure

Software Installation and description is generally installed or readme (there will be a general installation process)

3. To the Directory./configure

The Configure file is a script that detects your Linux system, the associated software, and the configuration of the system, and, after running this file, generates a file named makefile.

4.make

Make compiles the source code and links the corresponding library files to form executable files. Due to differences in Linux distributions, the same software source is in different Linux

The methods of compiling in distribution are often different. How does this command know how to compile the source code in your environment? This is the makefile file generated by the Configure command in the previous step.

5. Make install

After the compilation is successful, it needs to be installed. Linux so-called installation, in fact, the main thing is to put the relevant files into the correct directory.

Reference: http://www.androiddev.net/redhat-centos-software-sourcecode/

CentOS compiled source code

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.