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