diff --git a/pages/linux/dnf.md b/pages/linux/dnf.md index 190402ba05..1188e301cc 100644 --- a/pages/linux/dnf.md +++ b/pages/linux/dnf.md @@ -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`