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
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