Installation Method
When installing a software
Yum-y install httpd
When installing similar software
Yum-y install httpd *
When multiple non-similar software are installed
Yum-y install httpd php-gd mysql
When a software is uninstalled
Yum-y remove httpd
When multiple similar software are uninstalled
Yum-y remove httpd *
When multiple non-similar software are uninstalled
Yum-y remove httpd php-gd mysql
There is also a great usage
If I want to execute the iostat command to check the status of the CPU and storage devices, but the command does not exist
Execute yum install iostat. The result is that the software cannot be found.
Yum search iostat will be able to find the iostat-related installation package,
In addition, if you want to install a program, you only need to remember some names. You can also use this method to install the program.
Yum search png | grep png
You can find the name of libpng we want to install.