brave-browser: Brave installation tutorial does not work with DNF5
Description
On the Brave linux installation webpage (https://brave.com/linux/), the following command is indicated in order to add the Brave repository:
sudo dnf config-manager --add-repo https://brave-browser-rpm-nightly.s3.brave.com/brave-browser-nightly.repo
Which results on the following when using DNF5 (I’m using Fedora 41):
Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.
This happens because DNF5 config-manager no longer utilizes the argument --add-repo, instead it uses addrepo. The following is the new correct syntax:
sudo dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-nightly.s3.brave.com/brave-browser-nightly.repo
Steps to reproduce
- Install Fedora 41
- Attempt to install Brave Browser via it’s tutorial webpage (https://brave.com/linux/)
Actual result
Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.
Expected result
Error in added repository configuration file. Cannot set repository option "autorefresh=1": Option "autorefresh" not found
Which is an expected result given based on this other issue.
Reproduces how often
Easily reproduced
Brave version (brave://version info)
Love Brave, hopefully you all update the repository settings to start supporting DNF5.
Channel information
- release (stable)
- beta
- nightly
Miscellaneous information
Also reported on https://community.brave.com/t/correction-for-install-instructions-on-dnf5-fedora/584308/5
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (10 by maintainers)
The
autorefresh=1issue should be resolved. Installation instructions for dnf5-based distros will have to be added.Hm, I guess we’ll have to have a separate
.repofile for DNF5 because OpenSUSE needsautorefresh.cc @wknapik @oajara