This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12480|Reply: 1

[linux] Linux yum command explained in detail

[Copy link]
Posted on 9/27/2018 2:41:03 PM | | | |
The yum command is in Fedora and Red Hat, as well as SUSERPM-based package managerIt can enable system administrators to interact and automate more detailed management of RPM software packages, can automatically download and install RPM packages from the designated server, can automatically handle dependencies, and install all dependent software packages at one time, without the need for tedious downloading and installation again and again.

yum provides commands to find, install, and delete a package, a group, or even all of them, and the commands are simple and easy to remember.



grammar

yum (option) (parameter)

options

-h: Show help information;
-y: Answer "yes" to all questions;
-c: Specify the configuration file;
-Q: Quiet mode;
-v: Detail mode;
-d: Set the debug level (0-10);
-e: Set error level (0-10);
-R: Set the maximum wait time for yum to process a command;
-C: Runs entirely from the cache without downloading or updating any header files.

parameter

install: install the rpm package;
update: Update the rpm package;
check-update: Check if there is an update rpm package available;
remove: Deletes the specified rpm package;
list: displays the information of the package;
search: check the information of the package;
info: Displays the description and summary information of the specified rpm package;
clean: Clean up the cache of yum expired;
shell: Enter the shell prompt of yum;
resolvedep: displays the dependencies of rpm packages;
localinstall: Install the local rpm package;
localupdate: Displays the local rpm package for updates;
deplist: Displays all dependencies of the rpm package.

Example

Some commonly used commands include:

Automatically search for the fastest image plugin: yum install yum-fastestmirror

Install yum Graphics Window plug-in: yum install yumex

View the list of possible bulk installations: yum grouplist

Installation



Updates and upgrades



Find and show


Delete programs



Clear cache








Previous:C# is the easiest way to write logs
Next:Linux rpm command explained in detail
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com