LinuxCommandLibrary

copr

Fedora community repository manager

TLDR

Enable a COPR repository

$ sudo dnf copr enable [owner]/[project]
copy
Disable a COPR repository
$ sudo dnf copr disable [owner]/[project]
copy
List enabled COPR repositories
$ dnf copr list
copy
Search for COPR projects
$ dnf copr search [keyword]
copy
Remove a COPR repository and its packages
$ sudo dnf copr remove [owner]/[project]
copy
Enable a specific release of a COPR repository
$ sudo dnf copr enable [owner]/[project] [fedora-39-x86_64]
copy

SYNOPSIS

dnf copr command [options] [project]

DESCRIPTION

COPR (Cool Other Package Repo) is Fedora's community build system that allows users to create and share custom RPM repositories. The dnf copr plugin provides easy management of COPR repositories through the DNF package manager.
COPR enables developers to build and distribute packages that aren't in official Fedora repositories, including newer versions of software, experimental packages, or software with licensing that prevents inclusion in official repos. Users can enable these repositories with a single command.
The system automatically handles GPG key import and repository configuration. Projects are identified by owner/project format, such as user/myproject. Each project can build for multiple Fedora and EPEL versions.

PARAMETERS

enable OWNER/PROJECT

Enable a COPR repository for package installation.
disable OWNER/PROJECT
Disable a COPR repository without removing it.
remove OWNER/PROJECT
Remove a COPR repository configuration.
list
List all enabled COPR repositories.
search KEYWORD
Search for COPR projects by name or description.
--hub URL
Use an alternative Copr instance.
-y
Assume yes to all prompts.

CAVEATS

COPR packages are community-maintained and not officially supported by Fedora. Enable only repositories you trust, as they can contain any software. Packages may conflict with official repository versions. The repository owner is responsible for security and updates.

HISTORY

COPR was created by the Fedora Project as a community build service, similar to Ubuntu's PPAs. It launched around 2013 to provide a way for Fedora users to share packages outside the official distribution. The DNF plugin simplified repository management compared to manual configuration.

SEE ALSO

dnf(1), copr-cli(1), rpm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community