How to use the Yum install and uninstall software in CentOS (GO)

Source: Internet
Author: User

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)

Related Article

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.