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 web browser, which distinguishes itself from other browsers by automatically blocking online advertisements and website trackers in its default settings. Brave has claimed its browser puts less strain on your computer’s performance than Google Chrome, regardless of how much you ask of it. Even with multiple tabs open at once, Brave uses less memory than Google Chrome-like, up to 66% less.
In the following tutorial, you will learn how to install Brave on AlmaLinux 8.
Table of Contents
- 1 Prerequisites
- 2 Import & Install GPG Key & Repository
- 3 Install Brave Browser
- 4 How to Launch Brave Browser
- 5 How to Update Brave Browser
- 6 How to Remove (Uninstall) Brave Browser
- 7 Comments and Conclusion
- Recommended OS: AlmaLinux 8.
- User account: A user account with sudo privilages or root access (su command).
Updating Operating System
Update your AlmaLinux operating system to make sure all existing packages are up to date:
sudo dnf update && sudo dnf upgrade -y
The tutorial will be using the sudo command and assuming you have sudo status. To verify sudo status on your account:
Example output showing sudo status:
[[email protected] ~]$ sudo whoami root
If you have not set up a sudo user account and would like to, visit our tutorial on How to Add a User to Sudoers on AlmaLinux.
To use the root account, use the following command with the root password to log in.
Import & Install GPG Key & Repository
For AlmaLinux-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.
To 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
Optional – Import Beta, Nightly GPG Key & Repository
To 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
To 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
Now you can install the RPM package using the DNF or YUM package manager, and it is always recommended to use DNF to keep a standard.
sudo dnf install brave-browser
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 220.127.116.11
Optional. Install Brave Browser Beta or Nightly
Alternatively, you can install Brave Beta or Nightly build if you have downloaded the repositories. These two versions are not recommended daily, especially not on a main desktop or production server. However, for those who want to live on the edge, you can install the alternative versions.
To install Brave Browser Beta:
sudo dnf install brave-browser-beta -y
To install Brave Browser Nightly Build (Dev):
sudo dnf install brave-browser-nightly -y
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.
To verify Brave Browser Beta:
Brave Browser 18.104.22.168 beta
To verify Brave Browser Nightly:
Brave Browser 22.214.171.124 nightly
To confirm that the Brave installations were successful in adding the repositories to your repository list on AlmaLinux. Please run the following dnf repolist command to ensure they are added and active.
sudo dnf repolist
As the above output from the dnf repolist command, all three repositories have been added successfully. Remember, the beta and nightly are optional, and most users will not require these 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:
Alternatively, run the brave-browser command in the background to free up the terminal:
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. If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.
The first time you open Brave, you will be greeted by the following pop up:
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 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*
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.
To remove Brave Browser Beta:
sudo dnf autoremove brave-browser-beta
To remove 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. 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.