Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common commands of yum under Linux

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Today, the editor will share with you the relevant knowledge points about the common yum commands under Linux, which are detailed and logical. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

Yum package manager is based on rpm package management, can automatically download and install rpm packages from designated servers, automatically deal with dependencies, and install all dependent software packages at once, making it easy to use.

Common yum commands:

1 installation

Yum install all installed

Yum install package1 installs the specified installation package package1

Yum groupinsall group1 installer group group1

2 updates and upgrades

Update all yum update

Yum update package1 updates the specified package package1

Yum check-update checks for updatable programs

Yum upgrade package1 upgrade specified package package1

Yum groupupdate group1 upgrader group group1

3 find and display

Yum info package1 displays installation package information package1

Yum list displays all packages that have been and can be installed

Yum list package1 displays the installation of the specified package package1

Yum groupinfo group1 displays the program group group1 information yum search string finds the installation package according to the keyword string

4 delete program

Yum remove | erase package1 delete package package1

Yum groupremove group1 delete program group group1

Yum deplist package1 to view program package1 dependencies

5 clear cache

Yum clean packages clears software packages in the cache directory

Yum clean headers clears the headers in the cache directory

Yum clean oldheaders clears the old headers in the cache directory

Yum clean, yum clean all (= yum clean packages; yum clean oldheaders) clears the software packages in the cache directory and the old headers

These are all the contents of this article entitled "what are the common yum commands under Linux?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report