Install Brave on your Debian Stretch

ATTENTION: It is not possible install Brave in a LINUX 32 bits.

To know out if your system is 64-bit, open the LxTerminal as described in steps 2 and 3.
In the LxTerminal window type “uname -m” (without quotation marks). If it is 64 bits, you will see X86_64.

To this day (May 6, 2019) there is no official way to install Brave in Debian on the Brave.com page. But strangely they mention Debian in the part about how to uninstall Brave. I can’t understand it.

Official Brave download page

-

1. Open the terminal (LxTerminal) by press the keys:

Alt + F2

2. In the window that opens, type:

lxterminal

3. In this new window, type:

su

4. So, type your password

5. Now, we’ll enable the user namespaces, so type the command bellow:

echo ‘kernel.unprivileged_userns_clone=1’ > /etc/sysctl.d/00-local-userns.conf

6. Restart the service:

service procps restart

7. During download some files are not downloaded. The command below will correct this.:

apt-get install apt-transport-https

8. Next, we’ll add the gpg keys to apt:

curl https://s3-us-west-2.amazonaws.com/brave-apt-staging/keys.asc | sudo apt-key add -

9. And then add the repo to apt:

echo “deb [arch=amd64] https://s3-us-west-2.amazonaws.com/brave-apt-staging lsb_release -sc main” | sudo tee -a /etc/apt/sources.list.d/brave-lsb_release -sc.list

10. Now we will update apt with the new sources:

apt update

11. Install Brave:

apt install brave-keyring brave-browser

END!