Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Brave browser

User avatar
Captain Brillo
Forum Regular
Forum Regular
Posts: 198
Joined: Mon Jan 07, 2019 12:29 am

Brave browser

#1

Post by Captain Brillo » Thu Jan 31, 2019 8: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)
GAFA-free zone

User avatar
Moltke
Forum Regular
Forum Regular
Posts: 201
Joined: Tue Dec 19, 2017 6:07 pm

Re: Brave browser

#2

Post by Moltke » Thu Jan 31, 2019 8:32 pm

Captain Brillo wrote:
Thu Jan 31, 2019 8: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
Without each other's help there ain't no hope for us :happy:

User avatar
Captain Brillo
Forum Regular
Forum Regular
Posts: 198
Joined: Mon Jan 07, 2019 12:29 am

Re: Brave browser

#3

Post by Captain Brillo » Thu Jan 31, 2019 8:39 pm

Thank you kindly. I shall try it forthwith.
GAFA-free zone

User avatar
v3g4n
Developer
Posts: 1829
Joined: Sat Jan 16, 2016 8:20 pm

Re: Brave browser

#4

Post by v3g4n » Thu Jan 31, 2019 8:42 pm

Moltke wrote:
Thu Jan 31, 2019 8: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

User avatar
Captain Brillo
Forum Regular
Forum Regular
Posts: 198
Joined: Mon Jan 07, 2019 12:29 am

Re: Brave browser

#5

Post by Captain Brillo » Thu Jan 31, 2019 8:51 pm

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.
GAFA-free zone

User avatar
Stevo
Developer
Posts: 20145
Joined: Fri Dec 15, 2006 8:07 pm

Re: Brave browser

#6

Post by Stevo » Thu Jan 31, 2019 9:31 pm

"xenial" also works, instead of "trusty". Ubuntu 16.04 versus 14.04. It doesn't look they have any Debian code names in there.

User avatar
v3g4n
Developer
Posts: 1829
Joined: Sat Jan 16, 2016 8:20 pm

Re: Brave browser

#7

Post by v3g4n » Thu Jan 31, 2019 9:58 pm

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. ;)

User avatar
Captain Brillo
Forum Regular
Forum Regular
Posts: 198
Joined: Mon Jan 07, 2019 12:29 am

Re: Brave browser

#8

Post by Captain Brillo » Fri Feb 01, 2019 12:31 am

Nope.
Crashed my system. Every which way.
Will be leaving Brave alone for a while.
GAFA-free zone

User avatar
Gerson
Forum Regular
Forum Regular
Posts: 632
Joined: Sun Nov 12, 2017 10:58 am

Re: Brave browser

#9

Post by Gerson » Sat Mar 23, 2019 5:51 am

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.
No todos ignoramos las mismas cosas. :confused:

taseefa
Forum Novice
Forum  Novice
Posts: 6
Joined: Wed Jan 16, 2019 7:13 am

Re: Brave browser

#10

Post by taseefa » Sun Mar 31, 2019 5:21 am

Followed exactly your instructions and Brave works perfectly on my MX18.1 x64.
Thanks a lot

Post Reply

Return to “Software / Configuration”