dnf5-copr
Manage Copr repositories with DNF5
TLDR
Enable a Copr repository
$ sudo dnf5 copr enable [owner]/[project]
Enable it for a chroot other than the running system$ sudo dnf5 copr enable [owner]/[project] [fedora-rawhide-x86_64]
Enable one hosted on a different Copr hub$ sudo dnf5 copr enable [hub]/[owner]/[project]
Name the hub with its own option instead of a prefix$ sudo dnf5 copr --hub [copr.example.com] enable [owner]/[project]
List the Copr repositories configured here$ dnf5 copr list
Turn a repository off without discarding its configuration$ sudo dnf5 copr disable [owner]/[project]
Delete the repository configuration outright$ sudo dnf5 copr remove [owner]/[project]
Print the values Copr uses to pick a chroot for this system$ dnf5 copr debug
SYNOPSIS
dnf5 copr {list|enable|disable|remove|debug} [options] [project-spec] [chroot]
DESCRIPTION
dnf5 copr manages Copr repositories on Fedora-based systems. Copr (Cool Other Package Repo) hosts community and third-party package repositories that can be enabled with a single command.Enabling a project installs a repository definition under `/etc/yum.repos.d/`. Disabling keeps the definition but turns it off; removing deletes the definition entirely.
PARAMETERS
list
List Copr repositories configured on the systemenable project-spec [chroot]
Download repository info from a Copr server and install it as a `/etc/yum.repos.d/*.repo` filedisable project-spec
Disable the specified Copr repository (sets `enabled=0`; keeps the `.repo` file)remove project-spec
Remove the specified Copr repository and its `/etc/yum.repos.d/*.repo` filedebug
Print system information useful for debugging--hub hostname
Copr hub (web-UI/API server) hostname; default is `copr.fedorainfracloud.org`project-spec
Project ID as `OWNER/PROJECT` or `HUB/OWNER/PROJECT` (owner may be a username or `@@groupname`)chroot
Chroot in `NAME-RELEASE-ARCH` form (e.g. `fedora-rawhide-ppc64le`); auto-detected when omitted
CAVEATS
Copr projects are user-maintained and are not official Fedora packages. Review project pages before enabling. Incorrect chroots may install packages built for the wrong distribution or architecture.
HISTORY
copr is a DNF5 plugin for Fedora's Copr build service, replacing the older `dnf copr` plugin from DNF4.
