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:
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
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:
sudo rm /etc/apt/sources.list.d/brave-browser-release.list
Ign:21 “https://brave-browser-apt-release.s3.brave.com” sylvia InRelease
Err:22 “https://brave-browser-apt-release.s3.brave.com” sylvia Release
403 Forbidden
Reading package lists… Done
E: The repository ‘https://brave-browser-apt-release.s3.brave.com sylvia Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
For Linux Mint, as I wrote you need to do a little change on command in step 2.
You can now run command in terminal (Ctrl+Alt+T) to edit the repository:
Replace sylvia with xenial in the opened file and save it.
rofl how about “snap install brave” easy peasy
“snap uninstall brave” easy peasy
lot of unnecessary bs on here
error: snap “brave” is not available on stable for this architecture (i386) but
exists on other architectures (amd64).
Probably you use linux 32 bit rather than 64 bit.
not so easy peasy mr ego :)
it seems easy peasy so far yet it always makes me feel smarter using curl :)
I”m getting this error at third step. No idea
E: Malformed line 1 in source list /etc/apt/sources.list.d/brave-browser-beta-.list (dist parse)
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
I do all stuff that was said in here and brave browser just dont opening
Ubuntu sucks:
gpg: no valid OpenPGP data found.
This advice sucks outdated version won’t work.
What would I change in the code for this to work on Disco Dingo?
Hi, I went to the website directly and tried from there since, I tried the steps listed here but I may have messed up. I don’t know what nor how.
from the website, I did the first and second step. Then tried to update with apt update, and got this error:
E: Malformed entry 2 in list file /etc/apt/sources.list.d/brave.list (Component)
E: The list of sources could not be read
Does anybody know what it is due to, and how to fix it?
Thanks ahead!
> E: Malformed entry 2 in list file /etc/apt/sources.list.d/brave.list (Component)
> E: The list of sources could not be read
> Does anybody know what it is due to, and how to fix it?
I got the same thing. Linux Mint 19. I removed the extra sources for Brave via Update Manager>Software Sources, , then started all over again. This time I put bionic where it had `lsb_release -sc` in the example, but I ALSO REMOVED THE QUOTES and that error did not reappear
This fails on the first command:
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key –keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add –
gpg: no valid OpenPGP data found.
Worked perfectly on Lubuntu 18.04. Thanks!
On Linux Mint 19.1
1. sudo apt-get update
2. sudo apt install snapd
3. snap install brave
Result:
brave 0.63.48 from Brave Software (brave✓) installed
please give share the command for install brave to lynux mint
Fails at first step:
$ curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key –keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add –
gpg: no valid OpenPGP data found.
thanks from Mexico it worked perfectly :)
any way to edit the brave launcher in gnome ubuntu 18.04?
I want to add a flag: –user-data-dir-name /mnt/ramdisk
to run cache in ram
E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component)
E: The list of sources could not be read.