mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 05:35:23 +02:00
dnf: add and reorder examples (#4063)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
e414560b9e
commit
c7ae6b3d8a
1 changed files with 15 additions and 10 deletions
|
@ -1,6 +1,19 @@
|
|||
# dnf
|
||||
|
||||
> Package management utility for RHEL, Fedora, and CentOS (replaces yum).
|
||||
> More information: <https://dnf.readthedocs.io/>.
|
||||
|
||||
- Upgrade installed packages to the newest available versions:
|
||||
|
||||
`sudo dnf upgrade`
|
||||
|
||||
- Search packages via keywords:
|
||||
|
||||
`dnf search {{keywords}}`
|
||||
|
||||
- Display details about a package:
|
||||
|
||||
`dnf info {{package}}`
|
||||
|
||||
- Install a new package:
|
||||
|
||||
|
@ -14,18 +27,10 @@
|
|||
|
||||
`sudo dnf remove {{package}}`
|
||||
|
||||
- Upgrade installed packages to newest available versions:
|
||||
|
||||
`sudo dnf upgrade`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`dnf list --installed`
|
||||
|
||||
- Search packages via keyword:
|
||||
- Find which packages provide a given file:
|
||||
|
||||
`sudo dnf search {{keyword}}`
|
||||
|
||||
- Find which packages provide a given value:
|
||||
|
||||
`sudo dnf provides {{value}}`
|
||||
`dnf provides {{file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue