In this guide, we are going through the step by step process of installing Brave browser in Fedora 34.
So what is Brave browser?
Brave is a free and open-source web browser developed by Brave Software, Inc. based on the Chromium web browser, a Google-sponsored free and open-source web browser.. Brave is a privacy-focused browser, which distinguishes itself from other browsers by automatically blocking online advertisements and website trackers in its default settings.
Brave browser boasts in its site to be 3x faster than Chrome and to stop online surveillance, loads content faster, and uses 35% less battery.
Normal users normally wonder whether Brave browser is safe. The Brave browser is safe. While initially attracting tech enthusiasts to scrutinize the open-source code, it’s now a safe and comfortable choice for average users. Brave is a complete replacement for Google Chrome and Microsoft Edge.
Checkout:
Installing brave browser
There are two ways we can go about it:
- Using snap package manager
- Using Repository provided by brave
1. Using Snap
Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel.
Snaps are cross-distribution, dependency-free, and easy to install applications packaged with all their dependencies to run on all major Linux distributions. From a single build, a snap (application) will run on all supported Linux distributions on desktop, in the cloud, and IoT. Supported distributions include Ubuntu, Debian, Fedora, Arch Linux, Manjaro, and CentOS/RHEL.
Check mode about the snaps in their site here.
First ensure snapd (package providing support for snap) is installed:
sudo dnf install snapd
Then create a symbolic link to /var/lib/snapd/snap
for /snap
:
sudo ln -s /var/lib/snapd/snap /snap
Then install Brave:
sudo snap install brave
2. Using Repository provided by brave
Brave browser is not available in the default repositories for fedora. We need to add repositories.
When adding brave browser repositories, we need to choose the channel for installation. Brave provides the stable, beta and nightly channel. In this guide we will use the Stable channel.
Use these commands to add the repositories:
Install the dnf-plugins-core
to allow you to configure repositories
sudo dnf install dnf-plugins-core
Output
Last metadata expiration check: 0:17:48 ago on Thu 23 Sep 2021 08:51:23 AM EAT.
Package dnf-plugins-core-4.0.22-1.fc34.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Using dnf config-manager
add brave repo
sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
Output:
Adding repo from: https://brave-browser-rpm-release.s3.brave.com/x86_64/
created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/ 29 kB/s | 8.9 kB 00:00
Import repository key:
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
Then install brave. Remember to type y
to agree to install dependencies and Brave browser on Fedora Linux.
sudo dnf install brave-browser
Output:
Dependencies resolved.
===========================================================================================================================================
Package Architecture Version Repository Size
===========================================================================================================================================
Installing:
brave-browser x86_64 1.29.81-1 brave-browser-rpm-release.s3.brave.com_x86_64_ 87 M
Installing dependencies:
at x86_64 3.1.23-6.fc34 fedora 61 k
brave-keyring noarch 1.9-1 brave-browser-rpm-release.s3.brave.com_x86_64_ 11 k
Transaction Summary
===========================================================================================================================================
Install 3 Packages
Total download size: 88 M
Installed size: 88 M
Is this ok [y/N]: y
Launching brave
Once the installation is complete, brave browser will be available in the launcher. Search brave and launch it.
In the launcher:
This is the default brave launch page:
Up to this point we have been able to install and launch brave browser.
You can check out more about brave in their page here.