Before we jump into all the technical stuff, it would be best if we know about Brave Browser and what the Debian OS is. Let us start with Brave Browser. It is relatively a new web browser powerful enough to block useless ads. The browser also has improved security features and mostly fit with all the media formats.
Brave is adapted from the Chromium project and runs smoothly on Linux Distributions. However, there is a problem while we try to install the browser on Debian. Shockingly, it runs on Ubuntu, which has a similar package manager. So, in this article, we will discuss “How to Install Brave Browser in Debian“.
Also Read: Which is the Best Chromium Based Browser?
Install Brave Browser in Debian
Here are the steps to install Brave Browser in Debian:
Step 1:
What you need to do is to alter the Terminal commands, so that it will work. For that, open the Terminal and get the root access. You can do that by running the first command.
Then you need to enter your Root Password and execute the second command. You need to make sure that you don’t close the Terminal till the process is done as you will need the root access later.
su -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 -
Next, you have to run the following command. It should work without any errors.
source /etc/os-release</strong>
The next step in this process involves altering the Ubuntu commands, which runs with Debian. Here is the command. Now, this command can cause errors, but that is something that you shouldn’t worry about.
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ $buster main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${buster}.list</strong>
Nano is something that should be installed previously. To do that you need to run the following command. However, you must skip this command if Nano is already installed.
apt install nano
Step 2:
This step mainly includes everything that needs fixing. Let us start with a typical Nano problem that you may face. So, for that, we must edit the source file which we have created previously.
nano /etc/apt/sources.list.d/brave-browser-release-.list
Now, if you ran to do the previous step properly, you should be able to open the file in Nano. It should say the following.
deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ main
Now, please note that whatever the above command says, you must use the following:
deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ buster main
Next, you just need to save the document and exit out from Nano.
Step 3:
Now, this is a simple process. You just need to install the Brave Browser in your Debian system. For that, you need to perform two commands:
apt update
apt install brave-browser
Note that you will get a notification to confirm the changes. Accept by choosing ‘Y.’
Step 4:
Now, most of the users usually face an issue that when the browser starts, it crashes down after a while. To fix this, you simply need to open the Terminal and run this command below:
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
After restarting the system, you need to open the Brave browser. If you managed to do everything as instructed, you should be able to use it.
Conclusion
We understand that the process sounds a bit tough to do. However, if you hold the minimum knowledge, you should be able to pull this off. The process worth doing as Brave is a fantastic web browser altogether.