The difference between Yum and rpm
RPM is a package management method developed by Red Hat Company, we can easily install, inquire, uninstall and upgrade the software by using RPM. But the problem of dependency between RPM packages is often cumbersome, especially when software is made up of multiple RPM packages. Yum (full name Yellow Dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat as well as SuSE. Based on the RPM package management, can automatically download the RPM package from the specified server and install, can automatically handle dependencies, and install all the dependent software package, without tedious downloading, installation.
The RPM in Linux
Original meaning of English: RPM Package Manager
RPM Package Manager--Chinese interpretation
Note: A packaging and Installation tool for downloading packages on the Internet, which is included in some Linux distributions. It generates a. RPM extension file.
RPM is the acronym for the Redhat Package management tool, a file format name that, although marked with a redhat, is open in its original design and now includes OpenLinux, S.U.S.E, and distribution versions of Linux such as Turbo Linux. Can be regarded as a worker's industry standard.
RPM files are the easiest to install in a Linux system. Take the famous image processing software XV as an example, its RPM package xv-3.10a-13.i386.rpm can be downloaded from the program's homepage HTTP://WWW.TRILON.COM/XV.
In Termina, the basic installation instructions are as follows:
Rpm–i xv-3.10a-13.i386.rpm
If your networking speed is fast enough, you can also install data directly from all the RPM program components on the network. We can also use RPM to uninstall the relevant applications.
Rpm–e XV
The common parameters of RPM include:
-VH: Display installation speed;
-U: Upgrade Package
-QPL: List the annoying file information in the RPM software package
-QPI: List The description information for the RPM packages
-QF: Find out which RPM package the specified file belongs to
-va: Check all RPM packages to find missing files
Linux in Yum
First, what is Yum?
Yum=yellow Dog Updater,modified 111cn.net
Main function is more convenient to add/remove/update RPM package
Advantages: It can automatically solve the problem of package dependencies
It can facilitate the management of a large number of system update problems
Ii. Characteristics of Yum
L can configure multiple resource libraries at the same time
L Concise configuration file
L automatically resolve dependency problems when adding or removing RPM packages
L Easy to use
L maintain consistency with the RPM database
Third, yum installation
Fedora Self-belt
#rpm –IVH yum-2.0.4-2noarch.rpm
Iv. Application of Yum
Check for updatable RPM packages
#yum check-update
Install the RPM package so that Xmms can play mp3
#yum Install Xmms-mp3
Install MPlayer and automatically install related software
#yum Install MPlayer
Delete the Licq package and delete the package that is dependent on the package
#yum Remove Licq
Note: You will also be prompted to delete Licq-gnome,licq-qt,licq-text.
System Update: (Update all RPM packages that can be upgraded, including kernel)
#yum-y Update
Perform periodic system updates on a daily basis
#chkcongig Yum on
#service Yum Start
Five, yum instructions detailed
Update of *RPM Package
Check for updatable RPM packages
#yum check-update
Update all RPM Packages
#yum Update
Update the specified RPM package, such as update kernel and kernel source
#yum Update Kernel Kernel-source
Large-scale version upgrades, unlike Yum Updater, are. Even old, obsolete packages are upgraded.
#yum Upgrade
Recommended related reading: CentOS system installation of MYSQL5 database two methods