Hi,
I was installing and follow this workaround to install Brave on Fedora 41 (until they fix the guide on oficial page) that’s bring the new DNF5
The dnf config-manager option on this Fedora release (dnf5) was change from --add-repo
to addrepo
and it doesn’t recognize the option autorefresh=1
on .repo file.
Change the second step on https://brave.com/linux/#fedora-rockyrhel
Download the file: https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
-
Remove the line:
autorefresh=1
-
run (on the same path that download and edit the file):
sudo dnf config-manager addrepo --from-repofile=./brave-browser.repo
And follow the rest of the steps in the guide
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
sudo dnf install brave-browser