YUM Common Commands

Source: Internet
Author: User

Yum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE. Based on RPM package management, the ability to automatically download the RPM package from the specified server and install, can automatically handle dependency relationships, and install all dependent software packages at once, without the tedious download and installation. Yum provides commands to find, install, and delete one, a group, or even all of the packages, and the commands are concise and well-remembered.

Yum's command form is generally as follows: Yum [options] [command] [package ...]
The options are optional, including-H (Help),-y (when the installation process prompts you to select all "Yes"),-Q (does not show the installation process), and so on. [command] for the action you want to take, [package ...] Is the object of the operation.

Summarizes some of the commonly used commands include:

Automatically search for the fastest image plugin: Yum install Yum-fastestmirror
Installing the Yum graphics window plugin: Yum install Yumex
View a list of possible bulk installations: Yum Grouplist

1 installation
Yum Install all installed
Yum Install Package1 installs the specified installation package Package1
Yum groupinsall group1 Installer group group1

2 Updates and Upgrades
Yum Update all Updates
Yum Update Package1 updates the specified package Package1
Yum check-update Check for updatable programs
Yum Upgrade Package1 upgrade specified package Package1
Yum groupupdate group1 upgrade program group Group1

3 Finding and displaying
Yum Info package1 Displays installation package information Package1
Yum list shows all packages that are installed and can be installed
Yum List Package1 shows the installation of the specified package Package1
Yum groupinfo group1 Display program group group1 info Yum Search string finds the installation package based on the keyword string

4 Removing programs
Yum Remove & #124; Erase Package1 Remove Package Package1
Yum groupremove group1 Remove a program group group1
Yum deplist package1 Viewing program package1 dependencies

YUM Common Commands

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.