Page 1 of 4

Brave browser

Posted: Thu Jan 31, 2019 7:10 pm
by Captain Brillo
To avoid breaking my system with the wrong choice, can someone tell me which Brave browser install scenario to use? I understand MX is a Debian derivative - but Braves options are:
Ubuntu 16.04+ and Mint 18+
Mint 17
and then others....

So which is appropriate?


(Yes, I know... be daring-and-unafraid and pick one. Sorry, I've seen things...things you don't want to know about...cue "Twilight Zone" theme)

Re: Brave browser

Posted: Thu Jan 31, 2019 7:32 pm
by Moltke
Captain Brillo wrote: Thu Jan 31, 2019 7:10 pm To avoid breaking my system with the wrong choice, can someone tell me which Brave browser install scenario to use? I understand MX is a Debian derivative - but Braves options are:
Ubuntu 16.04+ and Mint 18+
Mint 17
and then others....

So which is appropriate?


(Yes, I know... be daring-and-unafraid and pick one. Sorry, I've seen things...things you don't want to know about...cue "Twilight Zone" theme)
Looks like this is the one:

Mint 17

Code: Select all

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 -

echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ trusty main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-trusty.list

sudo apt update

sudo apt install brave-browser brave-keyring

Re: Brave browser

Posted: Thu Jan 31, 2019 7:39 pm
by Captain Brillo
Thank you kindly. I shall try it forthwith.

Re: Brave browser

Posted: Thu Jan 31, 2019 7:42 pm
by v3g4n
Moltke wrote: Thu Jan 31, 2019 7:32 pm Looks like this is the one:

Mint 17

Code: Select all

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 -

echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/trusty main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-trusty.list

sudo apt update

sudo apt install brave-browser brave-keyring
Replace trusty with stretch
https://github.com/brave/browser-laptop/issues/7508

Code: Select all

echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/stretch main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-stretch.list

Re: Brave browser

Posted: Thu Jan 31, 2019 7:51 pm
by Captain Brillo
Thanks, but neither works here. The first is blocked by sandbox issues, and this one gives this

Code: Select all

sudo apt update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-stretch.list (Component)
E: The list of sources could not be read.
Too much for me. Try again at a later date.

Re: Brave browser

Posted: Thu Jan 31, 2019 8:31 pm
by Stevo
"xenial" also works, instead of "trusty". Ubuntu 16.04 versus 14.04. It doesn't look they have any Debian code names in there.

Re: Brave browser

Posted: Thu Jan 31, 2019 8:58 pm
by v3g4n
I appologize, I have an error in my string above. Below are the correct ones.

Code: Select all

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 -
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stretch main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-stretch.list
sudo apt update
sudo apt install brave-browser brave-keyring
Next you will have an issue with the sandbox and namespaces. To fix this so that you don't have to run it without sandboxing, you need to enable userns kernel option. Below will temporarily enable it

Code: Select all

 echo 1 > /proc/sys/kernel/unprivileged_userns_clone
To permanently enable you would

Code: Select all

echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
service procps restart
https://github.com/brave/browser-laptop/issues/6902


Image


Hope this helps and have fun. ;)

Re: Brave browser

Posted: Thu Jan 31, 2019 11:31 pm
by Captain Brillo
Nope.
Crashed my system. Every which way.
Will be leaving Brave alone for a while.

Re: Brave browser

Posted: Sat Mar 23, 2019 5:51 am
by Gerson
On my computer with MX 18.1 x64 it works perfect. To install the stable version of Brave in MX, the following commands must be executed from the terminal in the following order:

Code: Select all

$ 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 -

Code: Select all

$ source /etc/os-release

Code: Select all

$ echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stretch main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${Continunn}.list

Code: Select all

$ sudo apt update

Code: Select all

$ sudo apt install brave-keyring brave-browser
That way when there is an update, it warns you through the MX Updater icon.
NOTE: Do not forget to install the liquorix kernel first from the Test Repository.

Re: Brave browser

Posted: Sun Mar 31, 2019 5:21 am
by taseefa
Followed exactly your instructions and Brave works perfectly on my MX18.1 x64.
Thanks a lot