YUM-COPR(8)

✨ YUM-COPR(8) ✨

okay bestie, so this page lives in the dnf-plugins-core family — it's literally just a redirect to the DNF copr Plugin. But like, the good kind of redirect. The kind that hands you a whole ecosystem of extra repos. 💅

It's all about working with Copr & Playground repositories on your local system. Two icons, one cozy plugin:

  • the copr command is your girl for adding or removing Copr repositories on the local system 🎀
  • the playground command is the one that enables or disables the Playground repository 🦋

🌸 SYNOPSIS 🌸

dnf copr [enable|disable|remove|list|search] <parameters>

dnf playground [enable|disable|upgrade]

💖 ARGUMENTS (COPR) 💖

  • enable name/project [chroot] — turns on the name/project Copr repository, with the optional chroot if you're feeling specific ✨
  • disable name/project — turns off the name/project Copr repository
  • remove name/project — yeets the name/project Copr repository right out of there
  • list --installed — lists installed Copr repositories, and yeah this is the default behavior
  • list --enabled — lists enabled Copr repositories
  • list --disabled — lists disabled Copr repositories
  • list --available-by-user=name — lists the available Copr repositories for a given name
  • search project — searches for a given project 🔍
  • enable hub/name/project — turns on the name/project Copr repository from the Copr hub you specify. That hub gets 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. (Yes, go read it, iykyk.)


🎀 CONFIGURATION (COPR) 🎀

here are the paths, bestie, don't lose them:

/etc/dnf/plugins/copr.conf

/etc/dnf/plugins/copr.d/

/usr/share/dnf/plugins/copr.vendor.conf

The configuration file should contain a section for each hub, and each section has these parameters: hostname (mandatory, so like, not optional, periodt), protocol (default https) and port (default 443):

[fedora]
hostname = copr.fedorainfracloud.org
protocol = https
port = 443

There's also a vendor configuration, and the way it works is it lets a vendor specify the distro ID that copr should use by default. Highkey useful for vendors that wanna use Copr for their own distro. 🌈 The vendor configuration lives in /usr/share/dnf/plugins/copr.vendor.conf (optional) or /etc/dnf/plugins/copr.conf:

[main]
distribution = fedora
releasever = 37

🧚 ARGUMENTS (PLAYGROUND) 🧚

  • enable — enables the Playground repository
  • disable — disables the Playground repository
  • upgrade — upgrades the Playground repository settings (same as disable and then enable, so it's a lil glow-up 💅)

⭐ OPTIONS (PLAYGROUND) ⭐

All general DNF options are accepted, see Options in dnf(8) for details.


🔥 EXAMPLES 🔥

  • copr enable rhscl/perl516 epel-6-x86_64 — enables the rhscl/perl516 Copr repository, using the epel-6-x86_64 chroot
  • copr disable rhscl/perl516 — disables the rhscl/perl516 Copr repository
  • copr list --available-by-user=rita — lists the available Copr projects for user rita
  • copr search tests — searches for Copr projects named tests

😭 KNOWN ISSUES 😭

okay ngl, this one is a real one. The Copr plugin does not respect the -4 and -6 options of the dnf command when enabling a Copr repository.

Users are advised to configure a global address preference in /etc/gai.conf. 🙈

✍️ Author

See AUTHORS in your Core DNF Plugins distribution.

2014, Red Hat, Licensed under GPLv2+


and that's the whole page, bestie — you ate it 💜 This was yum-copr(8) from dnf-plugins-core, version 4.10.1, dated Sep 27, 2025. slay, go enable something responsibly 🫶🌸

📦 where this page comes from