Linux Source package installation software

Source: Internet
Author: User

Linux source installation and Yum installation differences:

1, yum installation can be seen as a way of online installation, you only need yum install software name, the system automatically according to the Yum source configuration file in the image location to download the installation package, and can automatically analyze the required software dependencies, automatic installation of the required dependent packages. This method is suitable for beginners, simple and convenient, do not consider the dependency relationship.

2, source installation method is required to download the source package on the Internet, and then unzip the installation. This way you can specify configuration parameters, which is more flexible and convenient, and more compatible.

Linux Source Installation Benefits:

1, the software according to user needs to customize
2, for two times development

Source package and its compilation and installation:

1, the source package packaging format:
Generally used. tar.gz and. tar.bz2 or. src.rpm or. tgz Packaging

2. Source Package Content
General Install and readme are installation documentation

3. Installation of necessary tools
Before compiling, you must install the
A) development tools such as gcc/perl/python/glibc/make/, such as development tools or basic packages
b) Related development kits
c) Related development library

4 Compiling and installing the software

Most of the tar.gz and tar.bz2 packaging software, mostly through the./configure, make, make install installation, some software is directly make;make installed;

The functionality of the configuration software can be viewed through the./configure--help; Most of the software is provided./configure configuration software functions; Few of them, if not, do not./configure; direct Make;make install on the line;

/configure an important parameter is--prefix, with the--prefix parameter, we can specify the software installation directory, when we do not need this software, directly delete the software directory on the line;

Linux Source package installation software

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.