[Linux] Package management: yum


Package Manager: yum


Introduction to yum

The yum command is an rpm -based package manager in Fedora, RedHat and SUSE . It enables system administrators to interact and automate finer and more detailed management of RPM packages. It can automatically download and install RPM packages from specified servers . Handle dependencies and install all dependent software packages at one time, without having to download and install tediously again and again.

yum provides commands to find, install, delete a certain, a group or even all packages, and the commands are concise and easy to remember.

yum is a shell__frontend package manager__.

Note : You must be connected to the Internet when using the yum command.

yum Commands

1. yum list | grep 软件名称: Query whether the yum server has software that needs to be installed

  • shell
    [root@wcl ~]# yum list |grep jdk
    jdk.x86_64 2000:1.7.0_79-fcs installed
    copy-jdk-configs.noarch 2.2-5.el7_4 updates
    java-1.6.0-openjdk.x86_64 1:1.6.0.41-1.13.13.1.el7_3 base
    java-1.6.0-openjdk-demo.x86_64 1:1.6.0.41-1.13.13.1.el7_3 base
    //... ...省略部分展示内容

2. yum install 软件名称: Install the specified yum package


Reference link:

1、12.2. yum Commands

2. yum command

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325478042&siteId=291194637
Recommended