Linux yum package management method

Linux yum package management method

Introduction

yum (Yellow dog Updater, Modified) is a shell front-end package manager in Fedora, RedHat and SUSE. Based on RPM package management, it can automatically download and install RPM packages from the specified server, automatically handle dependency relationships, and install all dependent software packages at once without the tedious downloading and installation again and again. Yum provides commands for finding, installing, and deleting one, a group of, or even all software packages, and the commands are concise and easy to remember.

yum command

grammar

yum [options] [action to perform] [package name...]

Command options:

-h : help

-y: When prompted during the installation process, select "yes" for all

-q: Do not display the installation process

Common yum commands

1. List all updateable software inventory commands: yum check-update

2. Update all software commands: yum update / yum -y update (-y will upgrade all packages, change software settings and system settings, and upgrade the system version and kernel) / yum -y upgrade (upgrade all packages, do not change software settings and system settings, upgrade the system version, and do not change the kernel)

3. Install only the specified software command: yum install [package name]

4. Update only the specified software command: yum update [package name]

5. List all installable software list commands: yum list

6. Delete the software package command: yum remove [package name]

7. Search software package command: yum search [package name]

8. Clear cache commands: yum clean packages: Clear the packages in the cache directory / yum clean headers: Clear the headers in the cache directory / yum clean oldheaders: Clear the old headers in the cache directory / yum clean, yum clean all (= yum clean packages; yum clean oldheaders): Clear the packages and old headers in the cache directory

9. Check whether there is a need to install a certain software yum list | grep [software name]

The above Linux yum package management method is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Detailed tutorial on installing a specified version of MySQL using yum on Linux
  • Detailed tutorial on how to install mysql8.0 using Linux yum command
  • Two methods to install JDK on Linux server (yum+download package)
  • Summary of common Linux commands: yum and source code installation
  • How to solve the problem of -bash: /usr/bin/yum: No such file or directory after typing yum in linux

<<:  Vue Element front-end application development dynamic menu and routing association processing

>>:  MySQL 5.6 binary installation process under Linux

Recommend

Four ways to create objects in JS

Table of contents 1. Create objects by literal va...

How Database SQL SELECT Queries Work

As Web developers, although we are not profession...

8 examples of using killall command to terminate processes in Linux

The Linux command line provides many commands to ...

How to extract string elements from non-fixed positions in MySQL

Preface Note: The test database version is MySQL ...

HTML small tag usage tips

Phrase elements such as <em></em> can ...

How to deploy services in Windows Server 2016 (Graphic Tutorial)

introduction Sometimes, if there are a large numb...

Several ways to change MySQL password

Preface: In the daily use of the database, it is ...

MySQL password is correct but cannot log in locally -1045

MySQL password is correct but cannot log in local...

Installation and use of mysql on Ubuntu (general version)

Regardless of which version of Ubuntu, installing...

Linux debugging tools that developers and operators must look at [Recommended]

System performance expert Brendan D. Gregg update...

Use Docker to build a Redis master-slave replication cluster

In a cluster with master-slave replication mode, ...

Do you know how to use Vue to take screenshots of web pages?

Table of contents 1. Install html2Canvas 2. Intro...

Nexus uses nginx proxy to support HTTPS protocol

background All company websites need to support t...

How to solve nginx 503 Service Temporarily Unavailable

Recently, after refreshing the website, 503 Servi...