1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 04:15:35 +02:00

dnf: add history example (#8220)

The history command shows well formatted installation log. Gives quick idea about what has happened so far.
Also, retrieve the list and repeat the same operations on the new system to get up and running quickly.
This commit is contained in:
Onkar Ruikar 2022-07-17 22:33:59 +05:30 committed by GitHub
parent 2d1c118ce1
commit 160b91ce95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,14 +15,10 @@
`dnf info {{package}}`
- Install a new package:
- Install a new package (use `-y` to confirm all prompts automatically):
`sudo dnf install {{package}}`
- Install a new package and assume yes to all questions:
`sudo dnf -y install {{package}}`
- Remove a package:
`sudo dnf remove {{package}}`
@ -34,3 +30,7 @@
- Find which packages provide a given file:
`dnf provides {{file}}`
- View all past operations:
`dnf history`