DNF4-COPR(8)

💖 DNF4-COPR 💖

okay bestie, welcome to the dnf4-copr era — this is the DNF copr Plugin, and no, it's not just vibes, it's genuinely how you work with Copr & Playground repositories on your local system. 🦋

So here's the tea, two little icons doing two very different jobs:

  • the copr command is how you add or remove Copr repositories on your local system 💅
  • the playground command is how you enable or disable the Playground repository ✨

🌈 SYNOPSIS 🌈

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

dnf playground [enable|disable|upgrade]

🎀 ARGUMENTS (COPR) 🎀

  • enable name/project [chroot] — turn ON the name/project Copr repository, with the optional chroot if you're feeling specific. 👑
  • disable name/project — turn OFF the name/project Copr repository.
  • remove name/project — yeet the name/project Copr repository. gone. not coming back unless you add it again.
  • list --installed — list the installed Copr repositories. this is literally the default, bestie.
  • list --enabled — list the enabled Copr repositories.
  • list --disabled — list the disabled Copr repositories.
  • *list --available-by-user=name* — list the available Copr repositories for a given name.
  • search project — search for a given project 🔍
  • enable hub/name/project — enable the name/project Copr repository from the specified Copr hub. the 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. periodt.


🧚 CONFIGURATION (COPR) 🧚

the files in question:

/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 👀 don't skip this one)
  • protocol — (default https)
  • 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 useful for vendors that want to 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 — Enable the Playground repository. 🎀
  • disable — Disable the Playground repository.
  • upgrade — Upgrade the Playground repository settings (this is the same as disable and then enable). it's giving glow-up, fr fr.

💫 OPTIONS (PLAYGROUND) 💫

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


🔥 EXAMPLES 🔥

okay these are the ones you're gonna actually use, no cap:

  • 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.

💀 KNOWN ISSUES 💀

not me finding a bug 💀 the Copr plugin does not respect the -4 and -6 options of the dnf command when enabling a Copr respository. 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+


okay that's the whole page bestie, slay 💅 this was dnf-plugins-core version 4.10.1, dated Sep 27, 2025 — bye, ily, go enable something iconic 🦋💖

📦 where this page comes from