mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
dnf: update command placeholders (#10140)
This commit is contained in:
parent
1c8b45ac2e
commit
080ed0c64a
1 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- Search packages via keywords:
|
- Search packages via keywords:
|
||||||
|
|
||||||
`dnf search {{keywords}}`
|
`dnf search {{keyword1 keyword2 ...}}`
|
||||||
|
|
||||||
- Display details about a package:
|
- Display details about a package:
|
||||||
|
|
||||||
|
@ -18,19 +18,19 @@
|
||||||
|
|
||||||
- Install a new package (use `-y` to confirm all prompts automatically):
|
- Install a new package (use `-y` to confirm all prompts automatically):
|
||||||
|
|
||||||
`sudo dnf install {{package}}`
|
`sudo dnf install {{package1 package2 ...}}`
|
||||||
|
|
||||||
- Remove a package:
|
- Remove a package:
|
||||||
|
|
||||||
`sudo dnf remove {{package}}`
|
`sudo dnf remove {{package1 package2 ...}}`
|
||||||
|
|
||||||
- List installed packages:
|
- List installed packages:
|
||||||
|
|
||||||
`dnf list --installed`
|
`dnf list --installed`
|
||||||
|
|
||||||
- Find which packages provide a given file:
|
- Find which packages provide a given command:
|
||||||
|
|
||||||
`dnf provides {{file}}`
|
`dnf provides {{command}}`
|
||||||
|
|
||||||
- View all past operations:
|
- View all past operations:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue