DNF5-INSTALL(8) | dnf5 | DNF5-INSTALL(8) |
NAME¶
dnf5-install - Install Command
SYNOPSIS¶
dnf5 install [options] <package-spec>...
DESCRIPTION¶
The install command in DNF5 is used for installing packages. It makes sure that all given packages defined in package-spec arguments and their dependencies are installed on the system.
OPTIONS¶
- --allowerasing
-
Allow erasing of installed packages to resolve any potential dependency problems.
- --skip-broken
-
Resolve any dependency problems by removing packages that are causing problems from the transaction.
- --skip-unavailable
-
Allow skipping packages that are not available in repositories. All available packages will be installed.
- --allow-downgrade
-
Enable downgrade of dependencies when resolving the requested operation.
- --no-allow-downgrade
-
Disable downgrade of dependencies when resolving the requested operation.
- --downloadonly
-
Download the resolved package set without executing an RPM transaction.
- --offline
-
Store the transaction to be performed offline. See dnf5-offline(8), Offline command.
- --advisories=ADVISORY_NAME,...
-
Consider only content contained in advisories with specified name. This is a list option. Expected values are advisory IDs, e.g. FEDORA-2201-123.
- --advisory-severities=ADVISORY_SEVERITY,...
-
Consider only content contained in advisories with specified severity. This is a list option. Accepted values are: critical, important, moderate, low, none.
- --bzs=BUGZILLA_ID,...
-
Consider only content contained in advisories that fix a ticket of given Bugzilla ID. This is a list option. Expected values are numeric IDs, e.g. 123123.
- --cves=CVE_ID,...
-
Consider only content contained in advisories that fix a ticket of given CVE (Common Vulnerabilities and Exposures) ID. This is a list option. Expected values are string IDs in CVE format, e.g. CVE-2201-0123.
- --security
-
Consider only content contained in security advisories.
- --bugfix
-
Consider only content contained in bugfix advisories.
- --enhancement
-
Consider only content contained in enhancement advisories.
- --newpackage
-
Consider only content contained in newpackage advisories.
EXAMPLES¶
- dnf5 install tito
-
Install the tito package.
- dnf5 install ~/Downloads/tito-0.6.21-1.fc36.noarch.rpm
-
Install the local rpm file from the given location.
- dnf5 install tito-0.6.21-1.fc36
-
Install the tito package in defined version. If the package is already installed, it will automatically try to downgrade or upgrade to the given version.
- dnf5 install --advisory=FEDORA-2022-07aa56297a \*
-
Install all the packages that belong to the FEDORA-2022-07aa56297a advisory.
SEE ALSO¶
dnf5-advisory(8), Advisory command dnf5-specs(7), Patterns specification
AUTHOR¶
See AUTHORS.md in dnf5 source distribution.
COPYRIGHT¶
Contributors to the dnf5 project.
September 23, 2024 |