Installing Brave Browser on Fedora 41: Easy Workaround

Esli SilvaEsli Silva
1 min read

I installed Brave on Fedora 41 using this workaround until they update the guide on the official page and the repository file.

The dnf config-manager option on this Fedora release 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

There’s only follow lines:

[brave-browser]
name=Brave Browser
enabled=1
autorefresh=1
baseurl=https://brave-browser-rpm-release.s3.brave.com/$basearch

Remove or comment 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:

To install asc (GPG Key):

sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc

And, finally, install Brave Browser on Fedora 41:

sudo dnf install brave-browser

I also posted this workaround on the Brave community forum:
https://community.brave.com/t/cant-install-brave-on-linux-fedora-41/578115/2?u=eslih

If you prefer, there's no issue with installing the Flatpak package.

0
Subscribe to my newsletter

Read articles from Esli Silva directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Esli Silva
Esli Silva

Linux hard user since 2003, IT manager, DevOps, Sysadmin, SRE, teacher, Bass Player, Krav Maga and Marksman. PT/BR: esli.blog.br/me