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
coprcommand is how you add or remove Copr repositories on your local system 💅 - the
playgroundcommand 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) 🎀
enablename/project [chroot] — turn ON the name/project Copr repository, with the optional chroot if you're feeling specific. 👑disablename/project — turn OFF the name/project Copr repository.removename/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. searchproject — search for a given project 🔍enablehub/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.
--hubCopr — specify a Copr hub to use. the Default is the Fedora Copr:https://copr.fedorainfracloud.org. 💅
🧚 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— (defaulthttps)port— (default443)
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 therhscl/perl516Copr repository, using theepel-6-x86_64chroot.copr disable rhscl/perl516— Disable therhscl/perl516Copr repositorycopr list --available-by-user=rita— List available Copr projects for userrita.copr search tests— Search for Copr projects namedtests.
💀 KNOWN ISSUES 💀
not me finding a bug 💀 the Copr plugin does not respect the-4and-6options of thednfcommand 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
📜 Copyright 📜
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
- ubuntu resolute: dnf-plugins-core 4.10.1-5 · GPL-2.0-or-later
- ubuntu stonking: dnf-plugins-core 4.10.1-5 · GPL-2.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms