1DNF-COPR(8) dnf-plugins-core DNF-COPR(8)
2
3
4
6 dnf-copr - DNF copr Plugin
7
8 Work with Copr & Playground repositories on the local system.
9
10 • The copr command is used to add or remove Copr repositories to the
11 local system
12
13 • The playground is used to enable or disable the Playground repository
14
16 dnf copr [enable|disable|remove|list|search] <parameters>
17
18 dnf playground [enable|disable|upgrade]
19
21 enable name/project [chroot]
22 Enable the name/project Copr repository with the optional ch‐
23 root.
24
25 disable name/project
26 Disable the name/project Copr repository.
27
28 remove name/project
29 Remove the name/project Copr repository.
30
31 list --installed
32 List installed Copr repositories (default).
33
34 list --enabled
35 List enabled Copr repositories.
36
37 list --disabled
38 List disabled Copr repositories.
39
40 list --available-by-user=name
41 List available Copr repositories for a given name.
42
43 search project
44 Search for a given project.
45
46 enable hub/name/project
47 Enable the name/project Copr repository from the specified Copr
48 hub, Hub is be specified either by its hostname (eg. copr.fedo‐
49 rainfracloud.org) or by an ID that's defined in a configuration
50 file.
51
53 All general DNF options are accepted, see Options in dnf(8) for de‐
54 tails.
55
56 --hub Copr
57 Specify a Copr hub to use. Default is the Fedora Copr:
58 https://copr.fedorainfracloud.org.
59
61 /etc/dnf/plugins/copr.conf /etc/dnf/plugins/copr.d/
62 /usr/share/dnf/plugins/copr.vendor.conf
63
64 Configuration file should contain a section for each hub, each section
65 having hostname
66 (mandatory), protocol (default https) and port (default 443) pa‐
67 rameters.:
68
69 [fedora]
70 hostname = copr.fedorainfracloud.org
71 protocol = https
72 port = 443
73
74 There is also a vendor configuration that allows a vendor to specify
75 the distro ID that copr should use by default. This is useful for ven‐
76 dors that want to use Copr for their own distro. The vendor configura‐
77 tion is in /usr/share/dnf/plugins/copr.vendor.conf (optional) or
78 /etc/dnf/plugins/copr.conf:
79
80 [main]
81 distribution = fedora
82 releasever = 37
83
85 enable Enable the Playground repository.
86
87 disable
88 Disable the Playground repository.
89
90 upgrade
91 Upgrade the Playground repository settings (same as disable and
92 then enable).
93
95 All general DNF options are accepted, see Options in dnf(8) for de‐
96 tails.
97
99 copr enable rhscl/perl516 epel-6-x86_64
100 Enable the rhscl/perl516 Copr repository, using the
101 epel-6-x86_64 chroot.
102
103 copr disable rhscl/perl516
104 Disable the rhscl/perl516 Copr repository
105
106 copr list --available-by-user=rita
107 List available Copr projects for user rita.
108
109 copr search tests
110 Search for Copr projects named tests.
111
113 See AUTHORS in your Core DNF Plugins distribution
114
116 2023, Red Hat, Licensed under GPLv2+
117
118
119
120
1214.4.3 Oct 06, 2023 DNF-COPR(8)