Yum instructions (unfinished version)

Source: Internet
Author: User

Reference: http://blog.chinaunix.net/uid-346158-id-2131252.html

PS: not organized.

Basic command:

Yum check-Update checks all packages that can be updated Yum Update downloads update system All packages installed Yum Upgrade Large-scale version upgrade, unlike Yum Update, even the old obsolete package is upgraded to yum install<packages>Install new package yum Update<packages>update the specified package yum remove<packages>uninstalling the specified package yum Groupinstall<groupnames>install packages in the specified software group Yum groupupdate<groupnames>update packages in a specified software group yum groupremove<groupnames>to uninstall a package from a specified software group Yum grouplist view the installed and available software groups in the system Yum list lists all the RPM packages that can be installed or updated and installed in the repository in the yum list<regex>lists the RPM packages that can be installed or updated and that have already been installed in the resource pool that match regular expressions Yum list available lists all the RPM packages that can be installed in the Repository Yum list available<regex>lists all available RPM packages in the repository that match regular expressions Yum list updates lists all the RPM packages in the repository that can be updated Yum list updates<regex>lists all the updatable RPM packages in the repository that match regular expressions Yum list installed lists all installed RPM packages in the Repository Yum list installed<regex>lists all installed RPM packages in the repository that match regular expressions Yum List extras lists the RPM packages that have been installed but not included in the repository Yum list Extras<regex>lists the RPM packages installed but not included in the repository that match the regular expression Yum list recent lists the packages that were recently added to the repository Yum search<regex>detects names, descriptions, overviews, and listed maintainers of all available software, looking for values that match regular expressions Yum provides<regex>detects the files contained in the package and the functionality provided by the software to find values that match regular expressions Yum clean headers clears the RPM header file in cache Yum Clean packages clear Cache rpm package file All clears the cache of RPM header files and package files Yum deplist<packages>display dependency information for a package when the first time you use the Yum or Yum repository for updates, Yum automatically downloads all the required he ADE Rs placed in/var/cache/in the Yum directory, the time required may be longer.    You can also use the Yum Info command to list package information, and Yum info has the same parameters as the Yum list. The Yum command can also be usedThe-y parameter is used to answer the questions raised when the command is run with ye S, such as yum-y install VSFTPD, so you don't have to enter yes/y when installing the software.

Yum instruction (not completed)

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.