DNF5-MARK(8)
π DNF5-MARK(8) π
okay bestie, sit down, hydrate, and let me tell you about dnf5-mark β the Mark Command from the dnf5 manual. this is the page that lives at the top of the terminal as DNF5-MARK(8) and, yes, it's lowkey iconic. β¨
β¨ NAME β¨
dnf5-mark β the Mark Command. that's it, that's the name, we're already slaying.
π¦ SYNOPSIS π¦
dnf5 mark <subcommand> [global options] [<group-id>]
<package-spec-NPFB>...
yeah she's a little stacked, we love a two-line queen. π
πΈ DESCRIPTION πΈ
so the mark command in DNF5 is literally here to change the reason of installed packages that you define in the package-spec-NPFB arguments. that's the whole job. reason-swapping. no cap. π
π SUBCOMMANDS π
π user
Mark the package as user-installed.
this one is highkey useful if some package got pulled in as a dependency and you're like "no bestie, you're staying." because when the remove command runs together with the clean_requirements_on_remove configuration option set to True, this is what keeps it from getting swept out. π«Ά
π dependency
Mark the package as a dependency.
use this when you, the user, genuinely don't need a specific package. it stays installed on the system, BUT it will be removed when the remove command runs along with clean_requirements_on_remove set to True. goodbye babe π«‘
real talk: use this operation instead of the remove command if you're not sure whether the package is a requirement of another user-installed package on the system. don't be reckless, bestie. π
π§ weak
Mark the package as a weak dependency.
that's the whole description. short. mysterious. main character energy. β¨
π group
Mark the package as installed by the group defined in the group-id argument.
this hits different when some package was installed as a dependency or by the user, and you want it protected and handled as a group member β like during the group remove command. group chat privileges: granted. π
π OPTIONS π
--skip-unavailableβ allow skipping packages that are not installed on the system. all the remaining installed packages will still get marked. π--offlineβ store the transaction so it gets performed offline. see the offline command <#offline-command-ref-label>,dnf5-offline(8).--transientβ only applicable on bootc (bootable containers) systems. perform transactions using a transient overlay which will be lost on the next reboot. see also the persistence <#persistence-options-label> configuration option. π¦--store=PATHβ store the current transaction in a directory at the specified PATH instead of running it. the stored transaction can be performed by the replay command <#replay-command-ref-label>,dnf5-replay(8). note that repository ids in the stored transaction are mangled to@stored_transaction(repo_id)β this is required because during replaying, the stored repositories are recreated and they might collide with already present repositories (this doesn't apply to the special@Systemrepository). π₯
β EXAMPLES β
dnf5 mark user fuse-devel
Mark the fuse-devel package as user-installed. periodt.
dnf5 mark group xfce-desktop vim-enhanced
Mark the vim-enhanced package as installed by the xfce-desktop group. group project: complete. π
π SEE ALSO π
dnf5-comps(7), Comps groups and environments <#comps-misc-ref-label>dnf5-specs(7), Patterns specification <#specs-misc-ref-label>
π Author π
See AUTHORS.md in the dnf5 source distribution. (yes, actual humans wrote this, go say hi π«Ά)
π Copyright π
Contributors to the dnf5 project.
and that's the whole page, bestie!! this came from the dnf5 manual, dated Sep 24, 2026, filed under DNF5-MARK(8) β go forth and mark responsibly. iykyk. πβ¨π¦π
π¦ 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