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

View File

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