Install Brave Browser on Fedora 34/35

Brave is a free and open-source web browser developed by Brave Software, Inc. based on the Chromium web browser. Brave is a privacy-focused internet browser that sets itself apart from other browsers by automatically blocking online advertisements and website trackers in its default settings.

Brave claimed that its browser puts less strain on your computer’s performance than Google Chrome. Even with multiple tabs open at once, Brave uses less memory than Google Chrome, up to 66% lessBrave’s recent 2021-recap talked about how they passed 50 Million active users and grew 2x its previous size for a fifth year in a row which shows how popular the browser has become.

In the following tutorial, you will learn how to install Brave Browser on Fedora 34/35 Workstation.

Prerequisites

  • Recommended OS: Fedora Linux 35.
  • User account: A user account with sudo or root access.
  • Internet Access

The tutorial will utilize the terminal, which can be found in your show applications menu.

Example:

Install Brave Browser on Fedora 34/35

Update Operating System

Update your Fedora operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@fedora ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Fedora.

To use the root account, use the following command with the root password to log in.

su

Install Dependency Required

Before you proceed with the installation, run the following command to install or check that the package dnf-plugins-core is installed on your Fedora desktop.

sudo dnf install dnf-plugins-core -y

By default, this should be installed.

Import GPG Key & Brave Repository

For Fedora-based systems, the three repository branches currently need to be imported individually on your system. Once done, they are automatically added to your repolist, so you will not need to re-download these to update Brave in the future.

The first and recommended is to install the Brave Browser stable branch for most of your usage. However, for more advanced or curious users, you can install the beta and nightly build repositories that are separate installations.

Import Brave Browser Stable Repository & GPG Key (Recommended):

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

Option 2 – Import Brave Browser Beta

Import Brave Browser Beta Repository & GPG Key:

sudo dnf config-manager --add-repo https://brave-browser-rpm-beta.s3.brave.com/x86_64/
sudo rpm --import https://brave-browser-rpm-beta.s3.brave.com/brave-core-nightly.asc

Option 3 – Import Brave Browser Nightly (Caution!)

Import Brave Browser Nightly Build & GPG Key:

sudo dnf config-manager --add-repo https://brave-browser-rpm-nightly.s3.brave.com/x86_64/
sudo rpm --import https://brave-browser-rpm-nightly.s3.brave.com/brave-core-nightly.asc

Install Brave Browser on Fedora

The next part of the installation is installing the RPM package browser using the DNF package manager.

sudo dnf install brave-browser

Example output:

Install Brave Browser on Fedora 34/35

Type Y, then press the ENTER KEY to proceed with the installation.

Next, verify the build and version installed. This also indicates that Brave was installed successfully.

brave-browser --version

Example output:

Brave Browser 94.1.30.87 

Optional. Install Brave Browser Beta or Nightly

Alternatively, you can install Brave Beta or Nightly build if you’ve added the repositories. These two versions are not recommended for everyday use, especially not on a main desktop or production environment.

Install the Beta version of Brave Browser:

sudo dnf install brave-browser-beta

Install Brave Browser Nightly Build (Dev):

sudo dnf install brave-browser-nightly

Note these do not replace your stable version, and they are installed separately.

Next, verify the installation of beta or unstable, use the following command.

Check the Beta version of Brave Browser:

brave-browser-beta --version

Example output:

Brave Browser 94.1.31.74 beta

Check the Nightly version of Brave Browser:

brave-browser-nightly --version

Example output:

Brave Browser 95.1.32.56 nightly

In the future, a useful command is to use the dnf repolist to print out what repositories you have included. This may be useful to check which Brave repositories you imported.

sudo dnf repolist

Example output:

How to Install Brave Browser Stable, Beta, or Nightly on Fedora 34 / 35

As above, all three repositories are present, meaning you will receive updates in the future on either of the choices you decide to install any one of the branch browser versions.

How to Launch Brave Browser

With the installation complete, you can run brave in a few different ways. First, while you are in your terminal, use the following command:

brave-browser

Alternatively, run the brave-browser command in the background to free up the terminal:

brave-browser &

However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Brave Web Browser.

Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

How to Install Brave Browser Stable, Beta, or Nightly on Fedora 34 / 35

The first time you open Brave, you will be greeted by the following pop up:

How to Install Brave Browser Stable, Beta, or Nightly on Fedora 34 / 35

Untick or leave as is and click the OK button to continue.

Now you will see Brave Internet Browser finally as per below:

How to Install Brave Browser Stable, Beta, or Nightly on Fedora 34 / 35

How to Update Brave Browser

To update Brave, run the DNF update command in your terminal as you would check your entire system for any updates.

sudo dnf update

If one is available, use the upgrade option:

sudo dnf upgrade

To upgrade the Brave browser by itself, run the upgrade command with its package name.

sudo dnf upgrade brave-browser

Add “-beta” or “-nightly” at the end if you installed other Browser versions.

How to Remove (Uninstall) Brave Browser

To remove Brave, execute the following terminal command:

sudo dnf remove brave-browser

Example output:

How to Install Brave Browser Stable, Beta, or Nightly on Fedora 34 / 35

Type Y, then press the ENTER KEY to proceed with the uninstall.

Note unused dependencies will also be removed.

If you have the beta or unstable builds installed.

Remove the Brave Browser Beta Build:

sudo dnf autoremove brave-browser-beta

Remove the Brave Browser Nightly Build:

sudo dnf autoremove brave-browser-nightly

Comments and Conclusion

In the tutorial, you have learned how to import the RPM binary package and the GPG key to install Brave Browser’s latest stable version, along with optional beta or nightly versions.

Overall, the Brave is an exciting newcomer to the scene of web browsers. Brave’s claims about being so much faster than Google Chrome would be believed as by eliminating ads and ad trackers by default, Brave downloads much less content from a website than any other browser.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!