Yum,yellow Dog Updater Modified
Software update mechanism based on RPM package construction
Automatically resolve package dependencies
All packages are provided by a centralized Yum software repository
Yum's basic configuration file:
Basic settings:/etc/yum.conf
Warehouse Configuration:/etc/yum.repos.d/*.repo
Log file:/var/log/yum.log
Cache directory:/var/cache/yum/$basearch/$releasever [for storing data such as download packages, warehouse records, etc.]
*.repo Basic Configuration items:
[Source name]: custom name, unique
Name: Description information for this software source
BaseURL: Specifies the URL address of the Yum server [local directory file://..., FTP or HTTP service: ftp://..., HTTP///...]
Enabled: Whether to enable this configuration
Gpgcheck: Whether to verify the RPM package to be installed
Gpgkey: Key file for RPM verification
Basic Package Operation:
Format: Yum [-y] instruction [software name] ... #[-y] omit confirmation when installing or deleting an operation
Common directives:
List: View Package lists
Search: View the package name or describe important keywords
Info: View description Information for the package, similar to Rpm-qi
Install: Installs the specified package, similar to Rpm-i
Update: Upgrade the specified package
Remove: Uninstalls the specified package, similar to RPM-E
Provides: similar to RPM-QF
Clean all: Empties all caches of local Yum
Software Group Basic operations:
Format: Yum [-y] directive [package group name] ... #[-y] Omit confirmation when installing or deleting an operation
Common directives:
Grouplist: View a list of software groups
GroupInfo: Viewing description information for a software group
Groupinstall: Installing the specified software group
Groupupdate: Upgrading software Groups
Groupremove: Uninstalling software groups
This article is from the "Trivia Summary" blog, so be sure to keep this source http://lyz010300.blog.51cto.com/9503473/1883827
Use of the Yum repository and Yum Update Tool