The RPM package to publish the software becomes more popular. The main reason is that this software release method is convenient for users to install, upgrade, and from the system. In addition, RPM can make you more information on the software package for the software installed. For example, what you have installed in the new system, see what files have been installed separately, these files Where is it? Here I give a simple entry manual for beginners to see the reference, quickly use RPM. These rpm commands are the most common, more complex features, you can temporarily don't use the tube, wait for the MAN manual when you do need it. :) Let's get started. The generally adopted command format for installing an RPM package is as follows: # rpm -ivh package.ix86.rpm In the above command, Package is a hypotheed name, IX86 is this package to optimize the specific CPU. For example, Package may be ldconfig-1.9.5-14, while IX86 is i386. "-I" parameter indicates that this package is to be installed, and "-V" parameters increase the output information, "- H" indicates that HASHES is displayed as a progress bar in the installation process during the installation process. The above is all about installing an RPM package, very simple and easy to use. Of course, if you encounter some of the problems with some bag dependencies during the installation process, you have to trouble something. The problem of relying on the relationship is that the package you are installing requires the support of other packages to work. It is usually possible to have problems that the installed package needs a certain software or a specific version of the library to work properly. In this case, you can install or upgrade the dependent package, then continue to install the package you need to install. Let's take some other very useful rpm commands. If you have to watch a RPM package installation, you can use this file, you can use this command: # rpm -ql packagename This packagename is the name of the package you want to query, such as ldconfig-1.9.5-14mdk; P "The parameter represents the query package database, see if this package has been installed;" - l "parameter indicates a complete path to all installed files listed by the query package. Here is an example: [WH @ infonet wh] $ rpm -ql ldconfig-1.9.5-14mdk / sbin / ldconfig /usr/doc/ldconfig-1.9.5 /usr/doc/ldconfig-1.9.5/Readme In addition to you Query the information of a package This utility is also easy to delete a particular RPM package software. The command parameters employed are "-e", the format is as follows: # rpm -e packagename "-e" means deleting the meaning of the ERASE, is to delete a specific package (packagename). It is worth noting that the RPM management mechanism does not allow you to delete a package, if this package is still dependent by other packages. Because once you delete this package, other packages that depend on him can run, can not be used normally. I have learned how to install and how to delete an RPM package. Let's take a look at how to upgrade an existing RPM package software. Upgrade is actually similar to the installation, you can refer to the following command: # rpm -u "parameter is the upgrade (UPGRADE), the parameters" V "and" H "meanings are the same as the previous, no longer Given it. At this point, we have learned, how to install, delete and upgrade a software that uses RPM released.