Yum Package Manager

Source: Internet
Author: User
Tags gpg

Yum (Yellow Dog Updater, Modified) is a character front-end package manager in Fedora. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them, can handle dependencies, and install all dependent packages at once, without the hassle of downloading and installing them over and over again.

Package source

The packages available for Yum to download include packages for Fedora itself and non-official repositories from rpmfusion, all of which are maintained by the Linux community and are essentially free software. All packages have an independent GPG signature, primarily for the user's system security. For Fedora Core 4 and later users, signatures from the new repositories are automatically imported and installed.

Graphical Front End

The graphical front-end of Yum is mainly Yumex and Kyum (KDE). They are not independent of Yum, but the graphical front-end of Yum, which means that both Yumex and Kyum are installed and used on the basis of Yum, so you must install Yum before using Yumex or Kyum.

Above citation: Wikipedia yellow Dog Updater modified Articles

Common command-line commands

Install the software (take foo-x.x.x.rpm as an example):

Yum Install foo-x.x.x.rpm

Remove Software:

Yum Remove foo-x.x.x.rpm or

Yum Erase foo-x.x.x.rpm

Upgrade Software:

Yum Upgrade Foo or

Yum Update foo

Enquiry Information:

Yum Info foo

Search Software:

Yum Search Foo

Show Package dependencies:

Yum deplist foo

Other parameters See

Mans Yum

List of Command:

Check checks for rpmdb problems.
Check-update Check if there is a package update
Clean Delete cached data
Deplist list dependencies for packages
Distribution-synchronization synchronized packages to the latest available version
Downgrade downgrade Package
Erase removing one or more packages from the system
Groups Display, or use, the groups information
Help Display usage information
History displays or uses transaction histories
Info displays detailed information about the package or group
Install one or more packages to the system
Langinstall Install Appropriate language packs for a language
Langlist List Installed languages
Langremove Remove installed language packs for a language
List lists one or a group of packages
Load-transaction loading a saved transaction from the file name
Makecache Creating a metadata cache
Provides find the package that provides the specified content
Reinstall Overlay Install a package
Repolist displaying a configured warehouse
Search searches the package details for the specified string
Shell runs an interactive yum shell
Update updates one or more packages in the system
The upgrade update package also considers the package substitution relationship
Version displays the machine and/or the available warehouse versions.

Options:

-H,--help displays this help message and exits
-T,--tolerant tolerance error
-C,--cacheonly runs completely from the system cache and does not upgrade the cache
-c [config file],--config=[config file]
Configuration file path
-R [minutes],--randomwait=[minutes]
Command maximum wait time
-d [Debug level],--debuglevel=[debug level]
Debug output Level
--showduplicates displays duplicate entries in the warehouse under the List/search command.
-e [Error level],--errorlevel=[error level]
Error Output level
--rpmverbosity=[debug level name]
RPM Debug Output level
-Q,--quiet quiet operation
-V,--verbose detailed operating procedures
-Y,--assumeyes answer all the questions for Yes
--assumeno answer No for all questions
--version Show Yum version information and exit
--installroot=[path] Setting the target root directory
--enablerepo=[repo] enable one or more warehouses (wildcard characters are supported)
--disablerepo=[repo] Disable one or more warehouses (wildcard characters are supported)
-X [Package],--exclude=[package]
Exclude a package with full name or wildcard characters
--disableexcludes=[repo]
Exclude from master configuration, from warehouse, or from any location
--obsoletes Consider package substitution relationships when upgrading
--noplugins Disabling the Yum plugin
--nogpgcheck Disabling GPG signature detection
--disableplugin=[plugin]
Disable plug-ins for specified names
--enableplugin=[plugin]
Enable plug-ins by name
--skip-broken skip a dependency problem package
--color=color Configuring whether to use color
--releasever=releasever
Setting the value of $releasever in the Yum configuration and repo files
--setopt=setopts setting any configuration and warehouse options
--disablepresto Disable Presto plugin and don ' t download any Deltarpms

Yum Package Manager

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.