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:
|
<<: Vue Element front-end application development dynamic menu and routing association processing
>>: MySQL 5.6 binary installation process under Linux
MySQL replace and replace into are both frequentl...
Preface During the interview, many interviewers m...
Sorting Problem I recently read "45 Lectures...
Table of contents 1. Use default parameters inste...
Table of contents Scenario Code Implementation Su...
I usually use nginx as a reverse proxy for tomcat...
introduce This article is based on React + antd t...
1. Install MySQL software Download and install My...
Three knowledge points: 1. CSS descendant selecto...
Pessimistic Lock Pessimistic lock, considers the ...
Many times, after we install a web service applic...
Table of contents Proper use of indexes 1. Disadv...
Table of contents Preface start Preface The defau...
This article shares with you the graphic tutorial...
Syntax: <marquee> …</marquee> Using th...