Scroll to navigation

DNF5-COPR(8) dnf5 DNF5-COPR(8)

NAME

dnf5-copr - Copr Command

SYNOPSIS

dnf5 copr <subcommand> [options] [arguments]

DESCRIPTION

The copr command in DNF5 is used to manage Copr repositories (add-ons provided by users/community/third-party) on the local system.

SUBCOMMANDS

List Copr repositories.

Download the repository info from a Copr server and install it as a /etc/yum.repos.d/*.repo file.

Disable specified Copr repository (if exists), keep /etc/yum.repos.d/*.repo file - just set enabled=0.

Remove specified Copr repository from the system. Also removes the /etc/yum.repos.d/*.repo file.

Print info about the system useful for debugging.


OPTIONS

Copr hub (the web-UI/API server) hostname. Defaults to copr.fedorainfracloud.org.


ARGUMENTS

<project-spec>
Copr project ID to enable. Use either a format OWNER/PROJECT or HUB/OWNER/PROJECT.

HUB can be either the Copr frontend hostname (e.g. copr.fedorainfracloud.org) or the shortcut (e.g. fedora). If HUB is not specified, the default one, or --hub <ARG>, is used.

OWNER is either a username, or a @groupname.

PROJECT can be a simple project name, or a "project directory" containing colons, e.g. project:custom:123.

Example: fedora/@footeam/coolproject.

<chroot>
Chroot specified in the NAME-RELEASE-ARCH format, e.g. fedora-rawhide-ppc64le. When not specified, the dnf copr command attempts to detect it.

EXAMPLES

Enable the rhscl/perl516 Copr repository, using the epel-6-x86_64 chroot.

Disable the rhscl/perl516 Copr repository

List Copr repositories configured on the system.


AUTHOR

See AUTHORS.md in dnf5 source distribution.

COPYRIGHT

Contributors to the dnf5 project.

September 23, 2024