Linux documentation needs update for DNF5

Please add here command for dnf5.

  • For Release Channel Installation:
# dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
  • For Beta Channel Installation:
# dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-beta.s3.brave.com/brave-browser-beta.repo
  • For Nightly Channel Installation:
# dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-nightly.s3.brave.com/brave-browser-nightly.repo


https://dnf5.readthedocs.io/en/latest/changes.html#changes-to-individual-commands
https://dnf5.readthedocs.io/en/latest/dnf5_plugins/config-manager.8.html#config-manager-plugin-ref-label

And remove Option “autorefresh” because it is unsupported for now.

# dnf config-manager addrepo --from-repofile=https://brave-browser-rpm-nightly.s3.brave.com/brave-browser-nightly.repo
 https://brave-browser-rpm-nightly.s3.b 100% | 871.0   B/s | 142.0   B |  00m00sError in added repository configuration file. Cannot set repository option "autorefresh=1": Option "autorefresh" not found
2 Likes

yeap this is issue now on Fedora 41 beta/RC i cant get repo added and installing RPM file fails due keysining files missing

DNF5 is default on Fedora 41 and up and really dont want to use Flatpaks

this is the dnf5 version to add brave repos

sudo dnf config-manager addrepo --id=brave-browser --set=name='Brave Browser' --set=baseurl='https://brave-browser-rpm-release.s3.brave.com/$basearch'

it works tested and running brave

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.