DNF4-COPR(8)

✨ NAME ✨

Okay bestie, meet dnf4-copr β€” the DNF copr Plugin, straight out of dnf-plugins-core (section 8 of your manuals, we love a numbered chapter πŸ’…). It's the whole vibe for working with Copr & Playground repositories on your local system.

  • 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, and you can optionally slide a chroot in there too ✨
  • disable name/project β€” switches the name/project Copr repository off, no drama πŸ™ˆ
  • remove name/project β€” yeets the name/project Copr repository right out of there πŸ’€
  • list --installed β€” lists your installed Copr repositories (this is the default, so it's basically the main character πŸ‘‘)
  • list --enabled β€” lists the Copr repositories that are enabled πŸ”₯
  • list --disabled β€” lists the Copr repositories that are disabled 😴
  • 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 β€” enables the name/project Copr repository from the specified Copr hub. That hub gets specified either by its hostname (eg. copr.fedorainfracloud.org) or by an ID that's defined in a configuration file. iykyk 🌸

βš™οΈ OPTIONS (COPR) βš™οΈ

All general DNF options are accepted, see Options in dnf(8) for details. (Yes, all of them, we're not doing the whole list here πŸ’–)


πŸ› οΈ CONFIGURATION (COPR) πŸ› οΈ

Here are the files, keep them safe:

/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, each section having hostname (mandatory), protocol (default https) and port (default 443) parameters.:

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

There's also a vendor configuration that lets a vendor specify the distro ID that copr should use by default. This is genuinely so useful for vendors that want to use Copr for their own distro, no cap. 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. Slay. ✨
  • disable β€” disables the Playground repository. πŸ’”
  • upgrade β€” upgrades the Playground repository settings (same as disable and then enable β€” a little glow-up, lowkey πŸ”)

🌸 OPTIONS (PLAYGROUND) 🌸

All general DNF options are accepted, see Options in dnf(8) for details. Same deal, bestie πŸ’œ


πŸ“ EXAMPLES πŸ“

  • copr enable rhscl/perl516 epel-6-x86_64 Enable the rhscl/perl516 Copr repository, using the epel-6-x86_64 chroot. 🎯
  • copr disable rhscl/perl516 Disable the rhscl/perl516 Copr repository. πŸ™ˆ
  • copr list --available-by-user=rita List available Copr projects for user rita. 🫢
  • copr search tests Search for Copr projects named tests. πŸ”

πŸ‘‘ AUTHOR πŸ‘‘

See AUTHORS in your Core DNF Plugins distribution. (They ate, fr fr πŸ’…)


2026, Red Hat, Licensed under GPLv2+ β€” periodt, that's the legal bit, respect it 🫑


Okay that's the whole page, bestie! Version 4.7.0, dated Aug 10, 2026, written by the dnf-plugins-core girlies (section 8, always). Now go enable some Copr repos and make it iconic πŸŒˆβ­πŸ’œ
πŸ“¦ where this page comes from