.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "DNF5-INSTALL" "8" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-install \- Install Command .SH SYNOPSIS .sp \fBdnf5 install [options] |@|@...\fP .SH DESCRIPTION .sp The \fBinstall\fP command in \fBDNF5\fP is used for installing packages, groups or environments. .sp When installing packages defined in \fBpackage\-spec\fP arguments, \fBDNF5\fP ensures that the packages and their dependencies are installed on the system. If the specified packages are already installed, DNF5 does not check their dependencies again and simply verifies that the packages themselves are present. .sp When installing groups defined in \fBgroup\-spec\fP arguments, \fBDNF5\fP ensures that the groups and their packages are installed on the system. Installs only group packages matching configured package type. See \fBdnf5\-conf(5)\fP, \fI\%group_package_types\fP\&. .sp When installing environments defined in \fBenvironment\-spec\fP arguments, \fBDNF5\fP ensures that the environments and their groups are installed on the system. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-allowerasing\fP .nf Allow removing of installed packages to resolve any potential dependency problems. .fi .sp .TP .B \fB\-\-skip\-broken\fP .nf Resolve any dependency problems by removing packages that are causing problems from the transaction. .fi .sp .TP .B \fB\-\-skip\-unavailable\fP .nf Allow skipping packages that are not available in repositories. All available packages will be installed. .fi .sp .TP .B \fB\-\-allow\-downgrade\fP .nf Enable downgrade of dependencies when resolving the requested operation. .fi .sp .TP .B \fB\-\-no\-allow\-downgrade\fP .nf Disable downgrade of dependencies when resolving the requested operation. .fi .sp .TP .B \fB\-\-downloadonly\fP .nf Download the resolved package set without executing an RPM transaction. .fi .sp .TP .B \fB\-\-offline\fP .nf Store the transaction to be performed offline. See \fBdnf5\-offline(8)\fP, \fI\%Offline command\fP\&. .fi .sp .TP .B \fB\-\-advisories=ADVISORY_NAME,...\fP .nf Consider only content contained in advisories with specified name. This is a list option. Expected values are advisory IDs, e.g. \fIFEDORA\-2201\-123\fP\&. .fi .sp .TP .B \fB\-\-advisory\-severities=ADVISORY_SEVERITY,...\fP .nf Consider only content contained in advisories with specified severity. This is a list option. Accepted values are: \fIcritical\fP, \fIimportant\fP, \fImoderate\fP, \fIlow\fP, \fInone\fP\&. .fi .sp .TP .B \fB\-\-bzs=BUGZILLA_ID,...\fP .nf 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. \fI123123\fP\&. .fi .sp .TP .B \fB\-\-cves=CVE_ID,...\fP .nf 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. \fICVE\-2201\-0123\fP\&. .fi .sp .TP .B \fB\-\-security\fP .nf Consider only content contained in security advisories. .fi .sp .TP .B \fB\-\-bugfix\fP .nf Consider only content contained in bugfix advisories. .fi .sp .TP .B \fB\-\-enhancement\fP .nf Consider only content contained in enhancement advisories. .fi .sp .TP .B \fB\-\-newpackage\fP .nf Consider only content contained in newpackage advisories. .fi .sp .UNINDENT .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 install tito\fP .nf Install the \fBtito\fP package. .fi .sp .TP .B \fBdnf5 install ~/Downloads/tito\-0.6.21\-1.fc36.noarch.rpm\fP .nf Install the local rpm file from the given location. .fi .sp .TP .B \fBdnf5 install tito\-0.6.21\-1.fc36\fP .nf Install the \fBtito\fP package in defined version. If the package is already installed, it will automatically try to downgrade or upgrade to the given version. .fi .sp .TP .B \fBdnf5 install \-\-advisory=FEDORA\-2022\-07aa56297a \e*\fP .nf Install all the packages that belong to the \fBFEDORA\-2022\-07aa56297a\fP advisory. .fi .sp .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fBdnf5\-advisory(8)\fP, \fI\%Advisory command\fP \fBdnf5\-specs(7)\fP, \fI\%Patterns specification\fP .fi .sp .UNINDENT .UNINDENT .SH AUTHOR See AUTHORS.md in dnf5 source distribution. .SH COPYRIGHT Contributors to the dnf5 project. .\" Generated by docutils manpage writer. .