.\" 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-FORCEARCH" "7" "Apr 18, 2025" "" "dnf5" .SH NAME dnf5-forcearch \- Forcearch Parameter .SH DESCRIPTION .sp The \fB\-\-forcearch=\fP parameter overrides the system architecture detected by DNF 5. It allows querying repositories for packages not compatible with your host system and installing them. Any architecture can be specified, but using a package with an architecture not supported natively by your CPU will require emulation of some kind, e.g. using qemu\-user\-static. .sp \fB\-\-forcearch\fP is supported by the following commands: \fBdistro\-sync\fP, \fBdownload\fP, \fBgroup\fP, \fBinfo\fP, \fBinstall\fP, \fBlist\fP, \fBmakecache\fP, \fBrepo\fP, \fBrepoquery\fP, \fBsearch\fP, and \fBswap\fP\&. .SH EXAMPLES .INDENT 0.0 .TP .B \fBdnf5 install \-\-forcearch=aarch64 my\-example\-package\fP Installs the version of \fBmy\-example\-package\fP for the AArch64 architecture, regardless of the architecture of the host system. .TP .B \fBdnf5 download \-\-forcearch=s390x hello\fP Downloads the \fBhello\fP package for the s390x architecture. .TP .B \fBdnf5 repoquery \-\-forcearch=aarch64 \-\-arch=aarch64\fP Query all packages available for the AArch64 architecture. If your system has a different native architecture, then both \fB\-\-arch\fP and \fB\-\-forcearch\fP are necessary here. \fB\-\-arch\fP will filter for only packages with the \fBaarch64\fP architecture, and \fB\-\-forcearch\fP sets the \(dqarch\(dq and \(dqbasearch\(dq substitution variables to ensure the correct repositories are queried. .UNINDENT .SH SEE ALSO .INDENT 0.0 .INDENT 3.5 .nf \fI\%Tutorial to override the system architecture for C++ API users\fP \fI\%Tutorial to override the system architecture for Python API users\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. .