How to install and uninstall software in Centos yum

Source: Internet
Author: User
Yum (all called YellowdogUpdater, Modified) is

Yum (all called Yellow dog Updater, Modified) is a Shell front-end package handler in Fedora, Redhat, CentOS. based on the RPM package, you can download and install the RPM package from the specified server AUTO. you can use AUTO to handle dependencies and install all dependent software packages at a time, you do not need to download and install it repeatedly.

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

Uninstall similar software

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 executeIostatThis command is used to view the status of the CPU and storage device, but the command is not found.

Execute yum installIostatThe software cannot be found.

Yum searchIostatYou can find the iostat-related installation package,

If you want to install a program, remember only the department name. 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.

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.