Linux Software Installation and management

Source: Internet
Author: User

There are too many options for installing commands on Linux, so it's easy to find them later.

Redhatcentos

Linux packages are divided into two main categories

    • SOURCE Package

The script installation package---the so-called script installation package is the installation process that encapsulates the installation of the source package and the binary package.

    • Binary package (RPM package system default package)

RPM Package Location: RPM package is generally located in the packages directory of the system CD.

Naming rules: httpd-2.2.15-15.e16.centos.1.i686.rpm--------Package full name-----------operation package is not installed, use the full name of the package, note the path!!! Eg:install Upgrade

--HTTPD Package name---------------------------------------------------Package name--------------The package name is applied when the package is installed, (search/var/lib/ Database in rpm/) Eg:delete search

--2.2.15 software version

Number of--15 software releases

--e16.centos for Linux platforms

--i686 for the hardware platform

--RPM-RPM Package Extension

RPM Package Dependencies:

Tree-dependent: A-->b-->c solution: First install C, then install B, and finally install a.

Ring-dependent: A-->b-->c-->a Solution: Simultaneous install A/B/C

Module dependency (library file dependency): Query url:http://www.rpmfind.net/Workaround: Install the RPM package containing the dependent files (. So) first, then the target RPM package.

RPM Install

RPM-IVH package full name usually first install the main package, and then install the add-on package

Option

-I (Install) installation

-V (verbose) Show details

-H (hash) Show progress

--nodeps does not detect dependencies---------------nothing. Do not force the installation, even if the installation of software is not available.

Note: Display 2 of 100% before the true installation succeeds!!! The first one is just ready for success.

RPM-UVH Package Full Name

Options

-U (upgrade) upgrade

Summary:

INSTALL:RPM-IVH Package Full Name

UPGRADE:PM-UVH Package Full Name

YUM--RPM on-line installation method!!!

Linux Software Installation and management

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.