HOWTO: Brave browser installation

Become root, enable kernel user-namespaces, install signature key, add repo, install brave. (Adapted)

sudo su   # get a root shell

echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
service procps restart

curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | apt-key add -
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main" >> /etc/apt/sources.list.d/brave-bionic.list

apt update
apt install brave-browser brave-keyring

exit    # quit root shell
# run brave from the menu

To have the beta / nightly channel, use the following steps additionally or instead:

curl -s https://brave-browser-apt-beta.s3.brave.com/brave-core-nightly.asc | apt-key add -
echo "deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ bionic main" >> /etc/apt/sources.list.d/brave-bionic.list

curl -s https://brave-browser-apt-dev.s3.brave.com/brave-core-nightly.asc | sudo apt-key add -
echo "deb [arch=amd64] https://brave-browser-apt-dev.s3.brave.com/ bionic main" >> /etc/apt/sources.list.d/brave-bionic.list

In case you added both (stable + beta) channels, you can always change your mind. Just add a # before any line in the repo file to disable it.

# open in text editor (exit+write with Ctrl+o, Enter)
nano /etc/apt/sources.list.d/brave-bionic.list
        # both repos, but beta disabled
        deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main
        # deb [arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ bionic main

apt update        # update after changes

See available packages:

apt-cache policy brave-keyring brave-browser braver-browser-beta brave-browser-dev

Note: As of now, no betas are available, but about 25 development builds.

2 Likes