logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnf4-copr - DNF copr Plugin

Arguments (Copr)

enablename/project[chroot]
              Enable the name/project Copr repository with the optional chroot.

       disablename/project
              Disable the name/project Copr repository.

       removename/project
              Remove the name/project Copr repository.

       list--installed
              List installed Copr repositories (default).

       list--enabled
              List enabled Copr repositories.

       list--disabled
              List disabled Copr repositories.

       list--available-by-user=name
              List 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, Hub is be specified either by
              its hostname (eg. copr.fedorainfracloud.org) or by an ID that’s defined in a configuration file.

Arguments (Playground)

enable Enable the Playground repository.

       disable
              Disable the Playground repository.

       upgrade
              Upgrade the Playground repository settings (same as disable and then enable).

Author

       See AUTHORS in your Core DNF Plugins distribution

Configuration (Copr)

/etc/dnf/plugins/copr.conf/etc/dnf/plugins/copr.d//usr/share/dnf/plugins/copr.vendor.confConfigurationfileshouldcontainasectionforeachhub,eachsectionhavinghostname
              (mandatory), protocol (default https) and port (default 443) parameters.:

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

       There  is  also a vendor configuration that allows a vendor to 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 is in /usr/share/dnf/plugins/copr.vendor.conf (optional) or /etc/dnf/plugins/copr.conf:

          [main]
          distribution = fedora
          releasever = 37

Examples

coprenablerhscl/perl516epel-6-x86_64
              Enable the rhscl/perl516 Copr repository, using the epel-6-x86_64 chroot.

       coprdisablerhscl/perl516
              Disable the rhscl/perl516 Copr repository

       coprlist--available-by-user=rita
              List available Copr projects for user rita.

       coprsearchtests
              Search for Copr projects named tests.

Known Issues

       Copr plugin does not respect -4 and -6 options of dnf command when enabling a Copr respository. Users are
       advised to configure a global address preference in /etc/gai.conf.

Name

       dnf4-copr - DNF copr Plugin

       Work with Copr & Playground repositories on the local system.

       β€’ The copr command is used to add or remove Copr repositories to the local system

       β€’ The playground is used to enable or disable the Playground repository

Options (Copr)

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

       --hubCopr
              Specify a Copr hub to use. Default is the Fedora Copr: https://copr.fedorainfracloud.org.

Options (Playground)

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

Synopsis

dnfcopr[enable|disable|remove|list|search]<parameters>dnfplayground[enable|disable|upgrade]

See Also