Linux----Software Installation management (MU network notes)

Source: Internet
Author: User

First, Package installation introduction

    1. Package classification
      • SOURCE Package
        • Script installation Package
      • Binary package (RPM package, system default package)
    2. SOURCE Package
      • SOURCE Package Benefits
        1. Open source, and if you have enough power, you can modify it yourself.
        2. You have the freedom to choose the features you want
        3. Software is compiled and installed, so more suitable for your system, more stable, more efficient
        4. Easy to uninstall
      • SOURCE Package Disadvantages
        1. There are many steps in the installation process, especially when installing large software collections (such as lamp environment), prone to spelling mistakes
        2. Longer compilation time, longer installation time than binary installation
        3. Because it is a compilation installation, the installation process once the error, novice difficult to solve
    3. RPM Package
      • Binary Package Advantages
        1. Package management system is simple, with only a few commands to implement package installation/upgrade/query and Uninstall
        2. Installation speed is much faster than the source package installation
      • Binary Package Disadvantages
        1. The source code can no longer be seen after compiling
        2. Feature selection is not as flexible as source package
        3. Dependence
    4. Script installation Package
      • The so-called script installation package, that is, the complex package installation process as a program script, beginners can execute a script, implementation of one-click installation. But the actual installation is the source package and the binary package.
      • Advantages: Easy and quick installation
      • Cons: Total loss of customization

Second, RPM command management

1) RPM Package naming rules

(a) The source of the RPM package

RPM package on the system CD

(ii) RPM package naming rules

httpd-2.2.15-15.e16.centos.1.i686.rpm

--HTTPD, Package name

--2.2.15, software version

--15, number of software releases

--e16.centos, the right Linux platform

--i686, the right hardware platform

--RPM,RPM Package Extension

(iii) RPM package dependency

    • Tree-dependent: a→b→c
    • Ring-dependent: a→b→c→a (workaround: Put a,b,c three install packages in one command)
    • Module dependency: Details query URL: www.rpmfind.net (. so.2 end, library file dependent)

2) Installation command

3) Upgrade and Uninstall

4) RPM Package query

5) RPM Package Check

Third, Yum Online management

Iv. Source Package Management

V. Script installation Package

Linux----Software Installation management (MU network notes)

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.