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
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.
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.