1
0
Fork 0
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:
Beau Jean van Bemmel 2023-05-08 22:11:49 -04:00 committed by GitHub
parent 1c8b45ac2e
commit 080ed0c64a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: