This series of blogs is from: http://www.92csz.com/study/linux/
Here, thank the original person to provide the introductory knowledge
The purpose of this series of blogs is to extract the more commonly used LIUNX commands from the author's articles for their own study and review.
"RPM tool "
RPM is the abbreviation for "Redhat package Manager", which can be guessed by name as Redhat company developed. RPM is a set of management programs that installs the packages you need into your Linux host in a database-logged way. In other words, there is a database on RPM in your Linux system that records the installed packages and dependencies between packages and packages. RPM packages are pre-compiled and packaged files on Linux machines that are fast to install. However, there are some shortcomings, such as the installation of the environment must be consistent with the environment or equivalent, the package and the package is dependent on the situation, the package needs to unload the dependencies, if the dependent package is required by the system, you can not unload the package, otherwise it will cause the system to crash.
"Yum Tools "
After introducing the RPM tool, you will also need to master the most commonly used yum tools, which is much more useful than the RPM tool, of course, if you are using a Linux system that supports Yum. Yum's biggest advantage is that it can be networked to download the required RPM packages, and then install them automatically, and in this project, if the RPM package to be installed is dependent, Yum will help you to fix the dependencies and install all RPM packages in turn. The following article describes common Yum commands.
1) List all available RPM packages "Yum List"
2) search for a RPM package "yum search [Related keywords]", using Yum list |grep vim search results more concise
3) Install a RPM package "yum install [-y] [RPM package name]"
If you do not add the-y option, it will be installed in a way that interacts with the user, first listing the RPM package information that needs to be installed, then asking the user if it needs to be installed, installing Y, and entering n without installing. And I suspect this is too troublesome, so directly with the-y option, so that the omission
4) Uninstall a RPM package "yum remove [-y] [RPM package name]"
5) Upgrade a RPM package "yum Update [-y] [RPM package]"
Use local CD-ROM to make and install
Leave blank, do understand
Install RPM packages or install Source packages