dnf-copr8
Dnf copr plugin work with copr & playground repositories on the local system.
Usage
dnf copr
[{enable | disable | remove | list | search}]
<parameters>
dnf playground
[{enable | disable | upgrade}]
Arguments (copr)
- enable name/project [chroot]
-
Enable the
name/projectCopr repository with the optionalchroot.
- disable name/project
-
Disable the
name/projectCopr repository.
- remove name/project
-
Remove the
name/projectCopr repository.
- list --installed
-
List installed Copr repositories (default).
- list --enabled
-
List enabled Copr repositories.
- list --disabled
-
List disabled Copr repositories.
- list --available-by-user=name
-
List available Copr repositories for a given
name.
- search project
-
Search for a given
project.
- enable hub/name/project
-
Enable the
name/projectCopr repository from the specified Coprhub, Hub is be specified either by its hostname (eg. copr.fedorainfracloud.org) or by an ID that’s defined in a configuration file.
Options (copr)
All general DNF options are accepted, see Options in dnf(8) for details.
- --hub Copr
-
Specify a Copr hub to use. Default is the Fedora Copr:
https://copr.fedorainfracloud.org.
Configuration (copr)
/etc/dnf/plugins/copr.conf /etc/dnf/plugins/copr.d/
- Configuration file should contain a section for each hub, each section having hostname
-
(mandatory),
protocol(defaulthttps) andport(default443) parameters.:[fedora]hostname = copr.fedorainfracloud.orgprotocol = httpsport = 443
Arguments (playground)
|
Enable the Playground repository. |
|---|---|
|
Disable the Playground repository. |
|
Upgrade the Playground repository settings (same as |
Options (playground)
All general DNF options are accepted, see Options in dnf(8) for details.
Examples
copr enable rhscl/perl516 epel-6-x86_64
|
Enable the |
|---|---|
copr disable rhscl/perl516
|
Disable the |
copr list --available-by-user=rita
|
List available Copr projects for user |
copr search tests
|
Search for Copr projects named |