RPM Package
Naming format: File name-Version number-revision number. Product type. Hardware platform. rpm
RPM command format: RPM [Options] Package file name
Common options:
-I installs a new package.
-U upgrades existing packages. If it does not exist, the package is not installed.
-e Uninstalls the installed packages.
-V Displays the detailed installation process.
-H Displays the installation progress bar with "# #".
-Q queries the database of installed packages.
Common usage Examples:
Installation: RPM-IVH Software file Package name
Uninstall: RPM-EVH Software file Package name
Note: The dependencies between RPM packages are often cumbersome, especially when the software is made up of multiple RPM packages, and the corresponding dependency packages need to be installed before the installation can proceed.
Reference Example:
1. Check the installation of the VSFTPD software package.
Rpm-qa|grep vsftpd
If the display result contains "vsftpd-2.2.2-6.e16.i686", the system already has the VCFTPD package installed.
2, if the system does not install VSFTPD software package, you can enter the installation CD Pachages directory, enter the following command to install:
RPM-IVH vsftpd-2.2.2-6.e16.i686.rpm
3, VSFTPD package verification.
Rpm-v vsftpd
Yum Management software Package
Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE. Based on RPM package management, the ability to automatically download the RPM package from the specified server and install, can automatically handle dependency relationships, and install all dependent software packages at once, without the tedious download and installation.
The syntax format for the Yum command is abbreviated:
Yum [Options] Package name
Common options:
Install installs the specified packages, and installs dependent underlying packages to automatically resolve dependencies.
Update updates the installed packages on the system and updates all packages in the entire system without specifying the package name.
Check-update Check if the package is updated.
Remove deletes the specified package and deletes other packages that depend on the specified package.
Info Query Package Description and summary information.
Deplist queries the packages that have dependencies on the specified package, including dependencies on the specified package, and the underlying support package that specifies the dependencies of the package.
Groupinstall Installing the specified software group
Groupupdate Update the specified software group
grouplist Query software group.
Groupremove deletes the specified software group.
Configuration of Yum
The Yum command uses the/etc/yum.conf configuration file settings,
Linux Package Management