copr
Build and manage custom software repositories
TLDR
View documentation for the original command
SYNOPSIS
copr command [options]
PARAMETERS
build
Build packages within a project. Requires source files.
create
Create a new Copr project.
delete
Delete an existing Copr project.
enable
Enable a Copr repository for use with the package manager.
disable
Disable a Copr repository.
list
List available Copr projects, builds, or packages.
login
Log in to the Copr service.
logout
Log out from Copr service.
monitor
Monitor build progress.
remove-build
Remove specific builds from project.
status
Show Copr service connection status.
-h, --help
Show help message and exit.
DESCRIPTION
The `copr` command is a command-line interface for interacting with the Copr build service. Copr is a build service for Fedora and CentOS that allows users to build and share custom RPM repositories. It allows developers and advanced users to easily build packages and distribute them outside the official distribution channels. Users can build packages from source, share them with others, and install packages from Copr repositories using the system's package manager (`yum` or `dnf`). The `copr` command facilitates creating, managing, and utilizing these custom repositories. Key functionalities include building packages, listing available projects, enabling or disabling repositories, and monitoring build statuses.
AUTHENTICATION
The `copr` command requires authentication to perform certain actions, such as creating projects or building packages. Users must log in using the `copr login` command, which typically involves authenticating through a web browser using a Fedora account. This authentication is managed by the Copr service and is used to authorize actions performed by the user.
REPOSITORY MANAGEMENT
Enabling a Copr repository adds it to the system's package manager configuration, allowing users to install packages from the repository using `yum` or `dnf`. Disabling a repository removes it from the configuration, preventing further installations from that repository. Changes to the system are made with root privilege. The package manager needs to refresh the metadata after enabling or disabling a repository.
HISTORY
Copr was developed to provide a simple way to build and share custom RPM packages within the Fedora and CentOS ecosystems. It addresses the need for developers to test and distribute packages that are not yet available in the official repositories, or to provide custom builds with specific configurations. The `copr` command provides a command-line interface to the Copr service, enabling users to manage projects, build packages, and enable/disable repositories. It streamlines the process of creating and maintaining custom software distributions.