Get the App
SLTechnology News&Howtos  ›  Servers  › 

Usage of yum to install and uninstall software in Centos

Shulou Source: shulou.com Published: 2022-06-01 17:24:17 10月02日 Update

This article focuses on "yum installation and uninstall software usage in Centos". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the usage of installing and uninstalling yum software in Centos.

When installing a piece of software

Yum-y install httpd

When installing multiple similar softwar

Yum-y install httpd*

When installing multiple non-similar softwar

Yum-y install httpd php php-gd mysql

When uninstalling a software

Yum-y remove httpd

Uninstall several similar softwar

Yum-y remove httpd*

When uninstalling multiple non-similar softwar

Yum-y remove httpd php php-gd mysql

= =

There is another great usage.

Suppose I want to execute the command iostat to check the status of CPU and storage devices, but I find that there is no such command

So execute yum install iostat, and it turns out that the software cannot be found. The following measures can be used to solve the problem

Yum search iostat can find the installation package related to iostat.

If you want to install a program, you can only remember the name of a part. You can also use this measure to install.

Yum search png | grep png

We can find the name of libpng that we want to install.

At this point, I believe you have a deeper understanding of "installing and uninstalling yum software in Centos". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Software multiple content name command measure learning practical deeper interest storage device practical practical I want easy to operate method more friends status program Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei vpn OPPO Reno Shulou Tech Info Redmi