How to install and uninstall software using yum in Centos

Source: Internet
Author: User

How to install and uninstall software in Centos yum
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 also has a very good usage. If I want to execute the iostat command to check the CPU and storage device status, but the execution does not find this command
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.