1DNF5-INSTALL(8) dnf5 DNF5-INSTALL(8)
2
3
4
6 dnf5-install - Install Command
7
9 dnf5 install [options] <package-spec>...
10
12 The install command in DNF5 is used for installing packages. It makes
13 sure that all given packages defined in package-spec arguments and
14 their dependencies are installed on the system.
15
17 --allowerasing
18 Allow erasing of installed packages to resolve any potential dependency problems.
19
20
21 --advisories=ADVISORY_NAME,...
22 Consider only content contained in advisories with specified name.
23 This is a list option.
24 Expected values are advisory IDs, e.g. FEDORA-2201-123.
25
26
27 --advisory-severities=ADVISORY_SEVERITY,...
28 Consider only content contained in advisories with specified severity.
29 This is a list option.
30 Accepted values are: critical, important, moderate, low, none.
31
32
33 --bzs=BUGZILLA_ID,...
34 Consider only content contained in advisories that fix a ticket of given Bugzilla ID.
35 This is a list option.
36 Expected values are numeric IDs, e.g. 123123.
37
38
39 --cves=CVE_ID,...
40 Consider only content contained in advisories that fix a ticket of given CVE (Common Vulnerabilities and Exposures) ID.
41 This is a list option.
42 Expected values are string IDs in CVE format, e.g. CVE-2201-0123.
43
44
45 --security
46 Consider only content contained in security advisories.
47
48
49 --bugfix
50 Consider only content contained in bugfix advisories.
51
52
53 --enhancement
54 Consider only content contained in enhancement advisories.
55
56
57 --newpackage
58 Consider only content contained in newpackage advisories.
59
60
62 dnf5 install tito
63 Install the tito package.
64
65
66 dnf5 install ~/Downloads/tito-0.6.21-1.fc36.noarch.rpm
67 Install the local rpm file from the given location.
68
69
70 dnf5 install tito-0.6.21-1.fc36
71 Install the tito package in defined version.
72 If the package is already installed, it will automatically try to downgrade or upgrade to the given version.
73
74
75 dnf5 install --advisory=FEDORA-2022-07aa56297a \*
76 Install all the packages that belong to the FEDORA-2022-07aa56297a advisory.
77
78
80 dnf5-advisory(8), Advisory command
81 dnf5-specs(7), Patterns specification
82
83
85 See AUTHORS.md in dnf5 source distribution.
86
88 Contributors to the dnf5 project.
89
90
91
92
93 Nov 09, 2023 DNF5-INSTALL(8)