COPR?

New to linux here. Most fedora installation instructions on github recommend using "COPR" somewhere in their respective install instructions - COPR doesn't seem to work on bazzite (but does on vanilla fedora). Any advice or help on resolving this?
17 Replies
tryhardsoccermomswag
Universal Blue
Installing and Managing Software on Bazzite
Hi, Brew and Fleek are part of the upstream Universal Blue images. You can virtually use both in the same manner on most of the popular images (main, nvidia, bluefin, etc.) To answer your questions in order about the Bazzite images: No. Desktop images have Nvidia variants, but not the Steam Deck/HTPC and other handheld PC images do NOT hav...
tryhardsoccermomswag
can also use a fedora distrobox container if nothing really has to be at a system-level using a similar method but the way described there with rpm-ostree is ok even with the downsides of layering
VictoryCoffee
VictoryCoffee5mo ago
Thanks for the fast reply here, I'm specifically trying to get envycontrol: https://github.com/bayasdev/envycontrol installed on my asus laptop that can switch between integrated and discrete graphics
GitHub
GitHub - bayasdev/envycontrol: Easy GPU switching for Nvidia Optimu...
Easy GPU switching for Nvidia Optimus laptops under Linux - bayasdev/envycontrol
VictoryCoffee
VictoryCoffee5mo ago
But replacing copr with rpm-ostree doesn't seem to work?
tryhardsoccermomswag
read the documentation download the .repo file and save it into /etc/yum.repos.d then you install the package with rpm-ostree then you reboot
VictoryCoffee
VictoryCoffee5mo ago
Ok gotcha - I've navigated to where the yum.repos.d are, but I don't see a .repo file on github? Totally new to all this
tryhardsoccermomswag
ah you have to make it yourself and save it there they didnt provide one
[copr:copr.fedorainfracloud.org:sunwire:envycontrol]
name=Copr repo for envycontrol owned by sunwire
baseurl=https://download.copr.fedorainfracloud.org/results/sunwire/envycontrol/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/sunwire/envycontrol/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
[copr:copr.fedorainfracloud.org:sunwire:envycontrol]
name=Copr repo for envycontrol owned by sunwire
baseurl=https://download.copr.fedorainfracloud.org/results/sunwire/envycontrol/fedora-$releasever-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/sunwire/envycontrol/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
put that in a text file and save it as _copr_sunwire-envycontrol.repo in /etc/yum.repos.d
VictoryCoffee
VictoryCoffee5mo ago
Excellent ok - I "admin'd" into the folder, created that repo file, and put it in there. How do I "call" that repo in bazzite to make it "run"?
Aru
Aru5mo ago
note that there's a copr util
$ copr --help

====== Experimental COPR Command in non-DNF Fedora Distributions ======

This Tool is not made or supported by the Fedora Project,
but aims to reproduce the "dnf copr" functionalities for easily adding COPRs.

Usage: ./copr [OPTION] [ARGUMENT]


Usage: copr [OPTION] [ARGUMENT]

Options:
enable Add COPR repository.
remove Remove COPR repository after backing it up.
list List all COPR repositories in your repo folder.
search Search for a COPR repository by name (in your Browser)
disable Keep a repo but disable it
enable Make a disabled repo active
help Display this help text.

Argument:
Name of the COPR repository (for search) or "author/repo" (for install and remove)

Examples:
copr enable kdesig/kde-nightly-qt6
copr remove kdesig/kde-nightly-qt6
copr list
copr search uutils

For help, visit https://discussion.fedoraproject.org.
$ copr --help

====== Experimental COPR Command in non-DNF Fedora Distributions ======

This Tool is not made or supported by the Fedora Project,
but aims to reproduce the "dnf copr" functionalities for easily adding COPRs.

Usage: ./copr [OPTION] [ARGUMENT]


Usage: copr [OPTION] [ARGUMENT]

Options:
enable Add COPR repository.
remove Remove COPR repository after backing it up.
list List all COPR repositories in your repo folder.
search Search for a COPR repository by name (in your Browser)
disable Keep a repo but disable it
enable Make a disabled repo active
help Display this help text.

Argument:
Name of the COPR repository (for search) or "author/repo" (for install and remove)

Examples:
copr enable kdesig/kde-nightly-qt6
copr remove kdesig/kde-nightly-qt6
copr list
copr search uutils

For help, visit https://discussion.fedoraproject.org.
it ships with bazzite already
tryhardsoccermomswag
i didnt even know this
Aru
Aru5mo ago
it's not actual copr, it's just a helper script
Aru
Aru5mo ago
GitHub
GitHub - ublue-os/COPR-command: A small script reenabling the "COPR...
A small script reenabling the "COPR" command on Fedora distros not including it - ublue-os/COPR-command
Aru
Aru5mo ago
maybe worth adding to documentation? this copr helper script was the inspiration for the bazzite-rollback-helper script
tryhardsoccermomswag
If i wasn't in bed i would reminder for tomorrow unless someone beats me to the punch nighty night bazzitecord
Aru
Aru5mo ago
I'll add it really quick for now
Aru
Aru5mo ago
done
Want results from more Discord servers?
Add your server