LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dnf5-copr

Manage Copr repositories with DNF5

TLDR

Enable a Copr repository
$ sudo dnf5 copr enable [owner]/[project]
copy
Enable it for a chroot other than the running system
$ sudo dnf5 copr enable [owner]/[project] [fedora-rawhide-x86_64]
copy
Enable one hosted on a different Copr hub
$ sudo dnf5 copr enable [hub]/[owner]/[project]
copy
Name the hub with its own option instead of a prefix
$ sudo dnf5 copr --hub [copr.example.com] enable [owner]/[project]
copy
List the Copr repositories configured here
$ dnf5 copr list
copy
Turn a repository off without discarding its configuration
$ sudo dnf5 copr disable [owner]/[project]
copy
Delete the repository configuration outright
$ sudo dnf5 copr remove [owner]/[project]
copy
Print the values Copr uses to pick a chroot for this system
$ dnf5 copr debug
copy

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 system
enable project-spec [chroot]
Download repository info from a Copr server and install it as a `/etc/yum.repos.d/*.repo` file
disable 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` file
debug
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.

SEE ALSO

dnf5(8), dnf(8)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid