yum: correct update command (#4708)

This commit is contained in:
Yi Ge 2020-10-20 00:28:06 +08:00 committed by GitHub
parent 30e4396146
commit d8a1eabd93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,7 @@
# yum
> Package management utility for RHEL, Fedora, and CentOS (for older versions).
- Synchronize list of packages and versions available. This should be run first, before running subsequent yum commands:
`yum update`
> More information: <https://man7.org/linux/man-pages/man8/yum.8.html>.
- Install a new package:
@ -22,6 +19,10 @@
`yum remove {{package}}`
- Display available updates for installed packages:
`yum check-update`
- Upgrade installed packages to newest available versions:
`yum upgrade`