Introduce to yum command

The Yellowdog Updater, Modified (YUM) is a free and open-source command-line package-management utility for computers running the Linux operating system using the RPM Package Manager. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality.

YUM allows for automatic updates and package and dependency management on RPM-based distributions.[3] Like the Advanced Package Tool (APT) from Debian, YUM works with software repositories (collections of packages), which can be accessed locally or over a network connection.

Thomei08 [Public domain]

yum command list

  1. yum check-update //Check all packages that can be updated
  2. yum update //Download and update all packages installed on your system
  3. yum upgrade //Large-scale version upgrade. Unlike yum update, even old obsolete packages are upgraded.
  4. yum install <packages> //Install new packages
  5. yum update <packages> //Update specified packages
  6. yum remove <packages> // Uninstall the specified package
  7. yum groupinstall <groupnames> //Install packages in the specified software group
  8. yum groupupdate <groupnames> //Update packages in the specified software group
  9. yum groupremove <groupnames> //Uninstall packages from the specified software group
  10. yum grouplist //Check system has been installed and available software group
  11. yum list //List all you can install or update the repository and rpm package installed
  12. yum list <regex> //List the rpm packages that can be installed or updated in the repository that match the regular expression, and which have been installed
  13. yum list available //List all packages that can be installed rpm repository
  14. yum list available <regex> //List all packages that can be installed rpm repository with a regular expression matching
  15. yum list updates //List all updateable rpm packages in the repository
  16. yum list updates <regex> //List all the possible update rpm package repository with a regular expression matching
  17. yum list installed //List all installed rpm packages in the repository
  18. yum list installed <regex> //List all installed rpm package repository with a regular expression matching
  19. yum list extras //List rpm packages installed but not included in the repository
  20. yum list extras <regex> //List installed rpm packages that match the regular expression but are not included in the repository
  21. yum list recent //List packages recently added to the repository
  22. yum search <regex> //Detect the names, descriptions, overviews, and listed maintainers of all available software for values ​​that match the regular expression
  23. yum provides <regex> //Detection package contains the files and software to provide functionality, find the value of the regular expression matching
  24. yum clean headers //Clear rpm header file cache
  25. yum clean packages //Clear the rpm package file in the cache
  26. yum clean all //Clear the cache of headers and rpm package file
  27. yum deplist <packages> //Show package dependency information