DNF5-REINSTALL(8)
π dnf5-reinstall β the Reinstall Command π
okay bestie, welcome to the dnf5-reinstall(8) page, part of the dnf5 manual fam. this one's short, sweet, and honestly kind of iconic β it's the "run it back, no notes" of package management. let's go π
β¨ NAME β¨
dnf5-reinstall β the Reinstall Command. she does exactly what it says on the tin and she does it flawlessly π
πΈ SYNOPSIS πΈ
dnf5 reinstall [global options] <package-spec-NPFB>...
π¦ DESCRIPTION π¦
so the reinstall command in DNF5? her whole job is reinstalling packages. which packages, you ask? the ones you name in the package-spec-NPFB arguments. that's it. that's the gig. she's not complicated, she's just good π
π OPTIONS π
every single one, no skips, we're eating the whole plate π
--allowerasingβ lets packages get removed so any potential dependency problems can be resolved. yes, she will throw things overboard to keep the ship floating π«Ά--skip-brokenβ deals with dependency problems by yeeting the packages that are causing the problem out of the transaction. problem? gone. (the packages? also gone π)--skip-unavailableβ lets her skip over packages that literally cannot be reinstalled. everything else? still getting reinstalled. no package left behind except the ones that had to be left behind β¨--allow-downgradeβ turns ON downgrading of dependencies while resolving the operation you asked for.--no-allow-downgradeβ turns OFF downgrading of dependencies while resolving the operation you asked for. the mirror image of the one above, lowkey obsessed with the symmetry π--installed-from-repo=REPO_ID,...β filters the installed packages by the ID of the repository they were originally installed from.--from-repo=REPO_ID,...β packages (or their provides) that you typed explicitly on the command line will only be looked up in the repos you list here. those repos get automatically enabled. repo enabling and disabling still applies, so don't get cute. dependencies of those packages? resolved from any enabled repository, no restrictions π«--from-vendor=VENDOR,...β a list of vendors separated by commas or spaces. globs are supported, like so:--from-vendor='Fedora\ project, vendorA, vendorB*, vendorC'. packages (or their provides) that you explicitly named on the command line will only be looked up from the vendors you specified. the vendor change check gets bypassed for these packages. but for packages that satisfy dependencies, the vendor is ignored β or the vendor change policies still apply ifallow_vendor_change=0. yes bestie, that's a whole situation, read it twice π§--downloadonlyβ downloads the resolved package set without executing an RPM transaction. window shopping, but make it functional ποΈ--offlineβ stores the transaction so it gets performed offline. see the offline command <#offline-command-ref-label>, anddnf5-offline(8)while you're at it.--transientβ only applicable on bootc (bootable containers) systems. performs transactions using a transient overlay, which will be lost on the next reboot. see also the persistence <#persistence-options-label> configuration option. temporary queen behavior, gone by morning π--store=PATHβ stores the current transaction in a directory at the specified PATH instead of running it. the stored transaction can be performed later by the replay command <#replay-command-ref-label>,dnf5-replay(8). heads up though: repository ids in the stored transaction get mangled into@stored_transaction(repo_id)β and that's required, because during replaying the stored repositories get recreated and they might collide with repositories that already exist. (this doesn't apply to the special@Systemrepository, she's exempt, she's built different π)
ngl the --store mangling detail is the kind of thing you only notice when it breaks, so like. now you know. iykyk π
π EXAMPLES π
- reinstall the
titopackage:
dnf5 reinstall tito
- reinstall the
titopackage from a local rpm file:
dnf5 reinstall ~/Downloads/tito-0.6.21-1.fc36.noarch.rpm
this one can be useful f.e. when the package you want isn't available in any enabled repository. local file to the rescue π«Ά
β SEE ALSO β
dnf5-specs(7)- Patterns specification <#specs-misc-ref-label>
π Author π
See AUTHORS.md in the dnf5 source distribution.
π Copyright π
Contributors to the dnf5 project.
and that's the whole page, bestie π you just read the dnf5 manual, dated Sep 24, 2026, straight from the dnf5 source distribution. go forth and reinstall something with main character energy. periodt π β¨π¦
π¦ where this page comes from
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- fedora 44: dnf5 5.4.6.0-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms