mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:17:58 +01:00
yum: correct update command (#4708)
This commit is contained in:
parent
30e4396146
commit
d8a1eabd93
1 changed files with 5 additions and 4 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue