How to Install Brave Browser on CentOS 8 Stream

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

In the following tutorial, you will learn how to install Brave Browser on CentOS 8 Stream.

Advertisement

Prerequisites

Updating Operating System

Update your CentOS Stream 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@centos-stream ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on adding a User to Sudoers on CentOS Stream.

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

su

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

Example:

How to Install Brave Browser on CentOS 8 Stream

Import and install the GPG key and repository

For CentOS-based systems, the three repository branches currently need to be imported individually to your system. Once done, they’re automatically added to your repolist, so you won’t need to redownload them to update Brave in the future.

To import the Brave browser stable repository and 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

To import the Brave Browser beta repository and 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

Pour importer 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
Advertisement

Install Brave Browser

You can now install the RPM package using DNF or YUM package manager, and it is always recommended to use DNF to keep a standard.

sudo dnf install brave-browser

Example output:

How to Install Brave Browser on CentOS 8 Stream

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

Then check the build and version installed. It also indicates that Brave has been installed successfully.

brave-browser --version

Example output (at the time of the tutorial):

Brave Browser 96.1.33.106

Optional. Install Brave Browser Beta or Nightly

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

However, you can install alternate versions for those who want to live to the limit.

To install the beta version of Brave Browser:

sudo dnf install brave-browser-beta

Pour installer Brave Browser Nightly Build (Dev) :

sudo dnf install brave-browser-nightly

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

Then check the installation of beta or unstable, use the following command.

To check the beta version of Brave Browser:

brave-browser-beta --version

Example output (at the time of the tutorial):

Brave Browser 96.1.34.64 beta

To check out Brave Browser Nightly:

brave-browser-nightly --version

Example output (at the time of the tutorial):

Brave Browser 97.1.35.46 nightly

To confirm that Brave installations have successfully added the repositories to your repository list on CentOS. Please run the following dnf repolist command to ensure they are added and active.

sudo dnf repolist

Example output:

How to Install Brave Browser on CentOS 8 Stream

As above, all three repositories are present, which means that you will receive updates in the future on any of the choices you decide to install.

Advertisement

How to Launch the Brave Browser

Once the installation is complete, there are several ways you can run bravely. First, while you’re in your terminal, use the following command:

brave-browser

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

brave-browser &

However, this is impractical, and you would use the following path on your desktop to open with the path: Activities> Show Apps> Brave Web Browser.

If you can’t find it, use the search feature in the Show Applications menu if you have many apps installed.

Example:

How to Install Brave Browser on CentOS 8 Stream

The first time you open Brave, you will be greeted with the following pop-up window:

How to Install Brave Browser on CentOS 8 Stream

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

Now you will finally see Brave Internet Browser as below:

How to Install Brave Browser on CentOS 8 Stream

How to Update Brave Browser

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

sudo dnf update

If there is one available, use the upgrade option:

sudo dnf upgrade

A better way would be to upgrade and refresh the cache simultaneously.

sudo dnf upgrade --refresh

How to Remove (Uninstall) Brave Browser

To remove Brave, run the following terminal command:

sudo dnf remove brave-browser

Example output:

How to Install Brave Browser on CentOS 8 Stream

Type Y and then press the ENTER KEY to proceed with the uninstallation.

Note that unused dependencies will also be removed.

If you have installed the beta or unstable version.

To remove the Brave Browser Beta Build:

sudo dnf remove brave-browser-beta

To remove the Brave Browser Nightly Build:

sudo dnf remove brave-browser-nightly

Comments and conclusion

In the tutorial, you learned how to import the RPM binary package and GPG key to install the latest stable version of Brave Browser. Overall, the Brave is an exciting newcomer to the web browser scene.

Brave’s claims that it’s much faster than Google Chrome would be believed because by eliminating ads and ad trackers by default, Brave downloads far less content from a website than any other browser.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
adplus-dvertising
0
Would love your thoughts, please comment.x
()
x