Skip to content

How to use my homelab server when use dnf enable copr command #2957

Answered by FrostyX
BH1SCW asked this question in Q&A
Discussion options

You must be logged in to vote

There is a feature in the DNF Copr plugin called "hubs", please take a look at man dnf-copr:

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

You need to create a configuration for your hub in /etc/dnf/plugins/copr.d/:

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

That way you will be able to use both Fedora Copr and your Copr at the same time.

If you only want to use yours, the easiest way would be go…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BH1SCW
Comment options

Answer selected by FrostyX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants