DNF5-MARK(8)

πŸ“¦
version 5.4.6.0 Β· 4 versions
, in fedora 44

πŸ’– 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 @System repository). πŸ”₯

⭐ 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 🫢)

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