dnf

RHEL/Fedora package manager

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
dnf upgrade --assumenoPreview
dnf history undo <id>Roll back
What it does

Package manager with transaction history for rollback.

Common flags
FlagMeaning
installInstall
removeRemove (check dependency removals)
upgradeUpgrade all⚠ May restart services/change kernel.
historyPast transactions
history undoUndo a transaction
--assumeno --assumenoPreview only
Examples
dnf check-updateWhat is available? · explain & risk-check →
dnf historyTransactions · explain & risk-check →
dnf upgrade --assumenoPreview · explain & risk-check →
Related
rpm yum
Open the full explainer →More in Packages & Build

Reference text is hand-written and may be incomplete — check man dnf for your version. Test destructive commands on a non-production system first.