How Yum installs and uninstalls software in CentOS
Installation method
When installing a software
Yum-y Install httpd
When installing multiple similar software
Yum-y Install httpd*
When installing multiple non-similar software
Yum-y Install httpd php php-gd mysql
When uninstalling a software
Yum-y Remove httpd
When uninstalling multiple similar software
Yum-y Remove httpd*
When uninstalling multiple non-similar software
Yum-y Remove httpd php php-gd MySQL
And there's a very good usage.
If I want to execute iostat this command to see the CPU and storage device status, but the execution found no such command
Then execute yum install iostat, the result says that the software can not be found, use the following method to solve
Yum Search Iostat will be able to find the installation package associated with Iostat,
Also want to install a program, just remember a part of the name, you can also use this method to implement the installation
Yum search PNG |grep png
We'll find the name of the libpng we want to install.
This article is from the "Gzmaster" blog, make sure to keep this source http://gzmaster.blog.51cto.com/299556/72278
How to use the Yum install and uninstall software in CentOS (GO)