Correction for install instructions on dnf5 fedora

Just wanted to add something here, not sure if this is the right place.
But I just saw that brave’s installation page hasn’t been updated according to the latest dnf. The dnf command written on there no longer works because dnf has gone some changes.

here is the latest dnf command for fedora, which works. Please update accordingly

sudo dnf config-manager addrepo --from-repofile https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo

here is a snippet from the manpage of dnf5

DNF5-CONFIG-MANAGER(8)                               dnf5                              DNF5-CONFIG-MANAGER(8)

NAME
       dnf5-config-manager - Config-manager Command

SYNOPSIS
       dnf5 config-manager <subcommand> [options] [arguments]

DESCRIPTION
       Manages main configuration, repositories configuration, and variables.

SUBCOMMANDS
       addrepo --from-repofile=REPO_CONFIGURATION_FILE_URL [--create-missing-dir] [--overwrite] [--save-file‐
       name=FILENAME]
              Adds a new repositories configuration file specified by URL or local path.

              The  file  is  copied  without  changes.  The  destination  file  name can be defined using the
              --save-filename option, otherwise it is taken from the source specification. If the  .repo  ex‐
              tension is missing from the destination filename, it will be added.

              The  destination  directory  path  is  the first path stored in the reposdir option (by default
              /etc/yum.repos.d).  Overwriting/replacing an existing file can be enabled using the --overwrite
              option.  Before the new repositories configuration file is finally saved, it  is  analyzed  and
              tested for validity.  Repository IDs are also tested. Repositories with the same ID must not be
              defined in other configuration files.
1 Like

Reference - Release Channel Installation:

NOT CORRECT:

sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo

in the following:

that command doesn’t work on latest fedora.
In the latest dnf package they use the format that I send you

here is a snippet from the manpage of dnf5

DNF5-CONFIG-MANAGER(8)                               dnf5                              DNF5-CONFIG-MANAGER(8)

NAME
       dnf5-config-manager - Config-manager Command

SYNOPSIS
       dnf5 config-manager <subcommand> [options] [arguments]

DESCRIPTION
       Manages main configuration, repositories configuration, and variables.

SUBCOMMANDS
       addrepo --from-repofile=REPO_CONFIGURATION_FILE_URL [--create-missing-dir] [--overwrite] [--save-file‐
       name=FILENAME]
              Adds a new repositories configuration file specified by URL or local path.

              The  file  is  copied  without  changes.  The  destination  file  name can be defined using the
              --save-filename option, otherwise it is taken from the source specification. If the  .repo  ex‐
              tension is missing from the destination filename, it will be added.

              The  destination  directory  path  is  the first path stored in the reposdir option (by default
              /etc/yum.repos.d).  Overwriting/replacing an existing file can be enabled using the --overwrite
              option.  Before the new repositories configuration file is finally saved, it  is  analyzed  and
              tested for validity.  Repository IDs are also tested. Repositories with the same ID must not be
              defined in other configuration files.

Brave Support needs to know, that existing Fedora installation instruction, is a roadblock. @Mattches

Thanks, we are aware of this and are working on updating the instructions:

1 Like

This should now be fixed:

If you are still experiencing problems, let us know.