1DNF5-MARK(8)                         dnf5                         DNF5-MARK(8)
2
3
4

NAME

6       dnf5-mark -  Mark Command
7

SYNOPSIS

9       dnf5 mark <subcommand> [global options] [<group-id>] <package-spec>...
10

DESCRIPTION

12       The mark command in DNF5 is used to change reason of installed packages
13       defined in package-spec arguments.
14

SUBCOMMANDS

16       user
17              Mark the package as user-installed.
18
19
20              This can be useful if any package was installed as a  dependency
21              and  is  desired to stay on the system when remove command along
22              with clean_requirements_on_remove configuration  option  set  to
23              True is executed.
24
25       dependency
26              Mark the package as a dependency.
27
28
29              This  can  be  useful  if  you as the user don't need a specific
30              package. The package stays installed on the system, but will  be
31              removed when remove command along with clean_requirements_on_re‐
32              move configuration option set to True is executed.
33
34              You should use this  operation  instead  of  remove  command  if
35              you're  not  sure  whether the package is a requirement of other
36              user installed package on the system.
37
38       weak
39              Mark the package as a weak dependency.
40
41
42       group
43              Mark the package as installed by the group defined in group-id argument.
44
45
46              This can be useful if any package was installed as a  dependency
47              or  the  user  and  is  desired to be protected and handled as a
48              group member like during group remove command.
49

EXAMPLES

51       dnf5 mark user fuse-devel
52              Mark the fuse-devel package as user-installed.
53
54
55       dnf5 mark group xfce-desktop vim-enhanced
56              Mark the vim-enhanced package as installed by the xfce-desktop group.
57
58

SEE ALSO

60          dnf5-comps(7), Comps groups and environments
61          dnf5-specs(7), Patterns specification
62
63

AUTHOR

65       See AUTHORS.md in dnf5 source distribution.
66
68       Contributors to the dnf5 project.
69
70
71
72
73                                 Nov 09, 2023                     DNF5-MARK(8)
Impressum