This tutorial shows how to install Brave web browser in Ubuntu in 3 different ways: Snap, Deb, and Flatpak packages.
Brave is a free open-source web browser based on Chromium. It is a privacy-focused browser, which automatically blocks most ads and website trackers in the default settings.
The web browser is available for Linux in three different package formats that support amd64 (Intel/AMD) and arm64 (e.g., Raspberry Pi) platforms. They are:
Snap – universal Linux package format runs in sandbox environment.
Deb – native package format for Debian, Ubuntu, Linux Mint.
Flatpak – another universal Linux package format runs in sandbox environment.
This simple tutorial shows how to install the latest Brave web browser in Ubuntu 21.10, Ubuntu 20.04, Ubuntu 18.04, Linux Mint 20.
Brave is a free and open-source web browser based on Chromium. It features faster page loading speed, and blocks ads and trackers by default.
The browser offers an official apt repository. So Ubuntu, Debian, and Linux Mint based systems can easily install the software and receive updates via built-in update manager utility.
1. Firstly, search for and open “terminal” from your system start menu. When it opens, paste the command below into terminal and hit Enter:
sudo apt install apt-transport-https curl
Type user password (no asterisk feedback) and hit Enter. It will add https support for apt package manager and install curl to grab the GPG key.
2. Next copy and paste the command below, and run to download & install the GPG key:
And run command to add the apt repository to your system. So far, only 64-bit PC / laptop is supported.
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
3. Finally refresh system cache and install the web browser by running the commands one by one:
sudo apt update
sudo apt install brave-browser
Uninstall Brave & Apt Repository:
To remove the Brave web browser, run command in terminal:
sudo apt remove --autoremove brave-browser
Unlike PPA, Brave’s apt repository does not list in Software & Updates utility under Other Software tab. However, you can remove the config file easily by running command in terminal: