Page 1 of 1
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

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
$ 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 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
Re: Brave browser
Posted: Tue Apr 16, 2019 7:32 am
by evpo
Building from source
You need to install yarn and nodejs
You can get higher level instructions from this link:
Code: Select all
https://github.com/brave/brave-browser/wiki/Linux-Development-Environment
I ran the prerequisite install commands from the page.
Code: Select all
apt-get install build-essential libgnome-keyring-dev python-setuptools npm
The last package npm doesn't install the npm command surprisingly
Following links from the page above, I executed below commands to install Yarn:
Code: Select all
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
yarn import
Installing nodejs by following this link did not work:
https://github.com/nodesource/distribut ... /README.md
The installer reported that the version of debian was not supported.
Luckily there is a package in the MX test repo: nodejs
Code: Select all
Package: nodejs
Version: 8.9.4-1~mx17+
The package provides the npm command required for building.
Download the source code from the git repo
The following commands are from this manual:
https://github.com/brave/brave-browser/wiki
Code: Select all
git clone git@github.com:brave/brave-browser.git
cd brave-browser
npm install
The next command took a few hours:
I had to use --unsupported switch to install dependencies:
Code: Select all
./src/build/install-build-deps.sh --unsupported
The dependencies installed fine despite being unsupported.
Building from source
As I understand this build is not for mere mortals. You need special hardware with huge amount of RAM. At least my laptop bought two years ago with 12 GB of memory couldn't handle it. I started the build and waited for 4-5 days before giving up. I noticed CPU consumption didn't go up a lot. The problem was the disk and memory. Here is how I solved it. I used my desktop which is very old but it has an SSD hard drive. See the specs below:
Code: Select all
CPU: Topology: Quad Core model: Intel Core2 Quad Q6600 bits: 64 type: MCP
Memory: 3.85 GiB
I installed MX live on a memory stick, used frugal static and I made 24 GB swap file on the ssd drive:
Code: Select all
$ swapon
NAME TYPE SIZE USED PRIO
/live/boot-dev/home/mx-user/mx-swap file 23G 378.8M -2
/dev/sdc5 partition 4G 0B -3
So in a way I extended my physical memory to the SSD drive. This strategy proved to be successful. Three days later the build finished and I got a brand new brave browser.
Solving the "no usable sandbox" problem
I had to install the chromium package "apt install chromium" , which provides chrome-sandbox. Then I made a link to the directory where brave executable is:
Code: Select all
ln -s /usr/lib/chromium/chrome-sandbox ./
Now my brave works fine including the tor tabs.
Installation
I stripped the resulting binary file because it was 6.4 GB. Here is the command:
Code: Select all
strip -o brave-strip brave
#test it and move
mv brave-strip brave
I copied run-time files to /opt/brave
Here is a list:
Code: Select all
brave
brave_100_percent.pak
brave_200_percent.pak
brave.desktop
brave_resources.pak
chrome_100_percent.pak
chrome_200_percent.pak
chrome-sandbox
extensions
headless_lib.pak
icon_before.bak
icudtl.dat
libEGL.so
libGLESv2.so
libVkICD_mock_icd.so
libVkLayer_core_validation.so
libVkLayer_object_lifetimes.so
libVkLayer_stateless_validation.so
libVkLayer_thread_safety.so
libVkLayer_unique_objects.so
libwidevinecdm.so
locales
natives_blob.bin
product_logo_48.png
resources
resources.pak
snapshot_blob.bin
v8_context_snapshot.bin
views_mus_resources.pak
The size went down to 263 MB
I found icons here:
http://www.iconarchive.com/show/papirus ... -icon.html
I made brave.desktop and it went to /usr/share/applications
Icons went to /usr/share/icons/hicolor/...
Conclusion
This experience confirmed that a browser is OS pretending to be a browser
Re: Brave browser
Posted: Wed Apr 17, 2019 6:49 am
by Gerson
Ufff... I got lost with such instruction and also I do not master English well.
I install Brave browser much more easily and I get updates without problem; The commands are the following:
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
$ 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&&sudo apt install brave-keyring brave-browser
And with that I have Brave installed without problem.
Re: Brave browser
Posted: Mon Apr 29, 2019 6:47 am
by jazzy55
Hello,
On my MX 17.i 64bit i can not get the brave browser to install at all .It has broken the synaptic pkg and Debian pkg manager and the system has stopped doing updates. :-( The synaptic pkg and Debian pkg manager is just greyed out ...I have found the files in the file manager /etc/apt/sources.list.d/ can i delete them from there ? I have tried this but the delete option when i right click it is also greyed out...Any ideas how to delete these files from my system to get it working again ?
Many Thanks ..Steve Rickards :-)
Re: Brave browser
Posted: Fri May 03, 2019 9:51 pm
by NevilsStation
Gerson wrote: Wed Apr 17, 2019 6:49 am
And with that I have Brave installed without problem.
Did you install this in MX-17 or MX-18, please?
Re: Brave browser
Posted: Sat May 04, 2019 7:59 am
by Gerson
NevilsStation wrote: Fri May 03, 2019 9:51 pm
Did you install this in MX-17 or MX-18, please?
When I used MX17 and 17.1 I had it installed, it cost me a little but now in MX 18 with the commands I placed, it installs without problem and also alerts you when there is a new version to update.
Re: Brave browser
Posted: Fri May 31, 2019 9:40 pm
by jabon
Gerson wrote: Wed Apr 17, 2019 6:49 am
Ufff... I got lost with such instruction and also I do not master English well.
I install Brave browser much more easily and I get updates without problem; The commands are the following:
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
$ 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&&sudo apt install brave-keyring brave-browser
And with that I have Brave installed without problem.
Those are the exact same instructions from the Brave website
https://brave-browser.readthedocs.io/en ... html#linux to install in Ubuntu 16.04+ and Mint 18+.
But it wasn't enough for me, because after doing the above, when I run brave browser on terminal I was getting
Code: Select all
~ $ brave-browser
[5201:5201:0601/092550.117265:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! You probably need to enable user namespaces in your kernel. See https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux for more information.
Trace/breakpoint trap
So after installing Brave using the above steps, these were the additional steps I did to make Brave work in my MX Linux 18.2
1. Switch to root user
2. Using instructions from here:
https://superuser.com/questions/1094597 ... el#1122977
Code: Select all
echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
service procps restart
Brave launched

Re: Brave browser
Posted: Fri May 31, 2019 10:32 pm
by KBD
There needs to be a much easier way to install Brave Browser on Debian :(
Re: Brave browser
Posted: Fri May 31, 2019 11:54 pm
by figueroa
Brave doesn't support Debian. MX is based on Debian. Why are y'all so eager to break your MX installations? Brave doesn't care about you. Firefox with Privacy Badger + /etc/host advert blocking, and/or Vivaldi.
Re: Brave browser
Posted: Sat Jun 01, 2019 7:17 am
by Gerson
For me it works perfectly, it has no incompatibility with MX since I started using it over a year and a half ago, it is fast and I can see everything I need and work with it without restrictions. It blocks perfect what I do not want to see and I also collaborate with the rewards. It consumes little RAM. I use the same Chrome extensions. Firefox is slow and has given me freezes. My machine is not powerful and limited but works well with Brave.
Re: Brave browser
Posted: Sat Jun 01, 2019 10:49 am
by KBD
It looks like an excellent stand in for Chrome, but with privacy focus. I tried it on a Windows machine last night and it looks very good. I tried to follow advice in this thread and it looked like it installed but wouldn't launch. Too bad there is not a simple deb package to download and use on Debian.
Re: Brave browser
Posted: Sun Jun 02, 2019 6:05 am
by Gerson
KBD Wrote: Too bad there is not a simple deb package to download and use on Debian.
In Debian and especially in MX it can be installed in the following way; (
see here), I did it this way and every time there are updates it gives me to download, now if you want a package. You can also get it (
click here) but it will not give you the updates. You can choose between active, beta, developing and night packages.
Re: Brave browser
Posted: Sun Jun 02, 2019 7:33 am
by WarhawkCZ
Just for sake of my curiosity - how does Brave compare to Vivaldi/Chrome/Firefox with uBlock and ghostery plugins?
Re: Brave browser
Posted: Sun Jun 02, 2019 9:28 am
by KBD
Gerson wrote: Sun Jun 02, 2019 6:05 am
In Debian and especially in MX it can be installed in the following way; (
see here), I did it this way and every time there are updates it gives me to download, now if you want a package. You can also get it (
click here) but it will not give you the updates. You can choose between active, beta, developing and night packages.
I got it installed on Linux Mint last night, enough to check it out. Brave looks polished and at first glance a perfect stand in for Chrome. But it has some issues. It won't work with Gmail unless you go to the Google home page and login from there. I couldn't get signed into MX Forum no matter what I tried. It leaves connections for both Twitter and Facebook on by default. I think eventually it could be a great browser, but enough issues to cause me concern. I'll stick with Firefox for now.
Re: Brave browser
Posted: Sun Jun 02, 2019 11:39 am
by Laurentius
I have installed it on MX and using it since yesterday and it feels good. Very fast. Specially Gmail seems to load faster than with other browsers. No issues at all.
I have used the instructions posted on this thread by gerson and the other kernel thing (because if not it doesen't lunch). Not difficult. Just copy/paste.
My main browser is palemoon but I think I'll be trying this for some time.
Re: Brave browser
Posted: Wed Jun 05, 2019 3:07 pm
by wellsey
My favourite browser on Android, so followed Gerson advice and successfully installed it on mx 18.3 However It won't let me login to this forum! I am entering this post on my phone.
After entering username and password the page reloads , the login fields are gone but where my username should be, the login button remains. I am not logged in.
This happens wether I have shields up or down. Any one any ideas or have same problem?
Brave version 0.64.77 Chromium 74.0.3729.169
SOLVED - I reset settings in browser and it now works ( -- maybe something I imported from firefox screwed it )
Re: Brave browser
Posted: Tue Jul 09, 2019 1:16 pm
by davidwillis
Do you need to be running the liquorix kernel? I tried installing it, but it will not boot. It just goes to a blank screen with a blinking cursor. If I need to use that Kernel for Brave browser, then I need to get it working first.
Re: Brave browser
Posted: Tue Jul 09, 2019 4:40 pm
by Huckleberry Finn
What about Iridium Browser? It's similar, fast and compatible with Debian (but only 64 bit for Linux).
Re: Brave browser
Posted: Tue Jul 09, 2019 5:00 pm
by v3g4n
davidwillis wrote: Tue Jul 09, 2019 1:16 pm
Do you need to be running the liquorix kernel? I tried installing it, but it will not boot. It just goes to a blank screen with a blinking cursor. If I need to use that Kernel for Brave browser, then I need to get it working first.
No need to use liquorix just to use Brave browser.
Re: Brave browser
Posted: Wed Jul 17, 2019 4:57 pm
by Gerson
He actualizado la forma de instalar Brave en MX, SolydXK y distribuciones con Debian sin necesidad de usar el kernel liquorix, pueden ver la
forma de hacelo en esta página.
Re: Brave browser
Posted: Tue Dec 17, 2019 2:31 am
by GlockdocVegas
KBD wrote: Sun Jun 02, 2019 9:28 am
Gerson wrote: Sun Jun 02, 2019 6:05 am
In Debian and especially in MX it can be installed in the following way; (
see here), I did it this way and every time there are updates it gives me to download, now if you want a package. You can also get it (
click here) but it will not give you the updates. You can choose between active, beta, developing and night packages.
I got it installed on Linux Mint last night, enough to check it out. Brave looks polished and at first glance a perfect stand in for Chrome. But it has some issues. It won't work with Gmail unless you go to the Google home page and login from there. I couldn't get signed into MX Forum no matter what I tried. It leaves connections for both Twitter and Facebook on by default. I think eventually it could be a great browser, but enough issues to cause me concern. I'll stick with Firefox for now.
If you are using Gmail, privacy is not your main concern anyway...............
Just a thought. Stick with the BIg G and Chrome.
Re: Brave browser
Posted: Tue Dec 17, 2019 2:44 am
by GlockdocVegas
v3g4n wrote: Thu Jan 31, 2019 8: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

Hope this helps and have fun.
Thanks V3ga4n!!
The 1st set of code did the trick for me. When I ran the 2nd set I got "permission denied".
I checked and the Brave icon was there, clicked it, and wah laaaaa.... I can search for guns and steaks!
Thanks!
Glockdoc
Re: Brave browser
Posted: Wed Jan 01, 2020 6:48 am
by Gerson
Great! We already have Brave-browser in the repository. This ensures good MX compatibility.

Re: Brave browser
Posted: Wed Jan 01, 2020 1:27 pm
by fehlix
Gerson wrote: Wed Jan 01, 2020 6:48 am
Great! We already have Brave-browser in the repository. This ensures good MX compatibility.
To install open MX Package Installer -> Populare Apps -> Browser:
Brave.png
Brave-version.png

Re: Brave browser
Posted: Thu Jan 02, 2020 10:17 pm
by junoluna
I like this one a lot
unfortunately it is not saving my passwords or autofilling forms
i have checked all the settings from troubleshooting posts on the brave browser forums but no go
Re: Brave browser
Posted: Thu Jan 02, 2020 10:24 pm
by Bonzoo2525
It's in it's youth. Give it a year or so.It'll either rock or hide itself under one
Re: Brave browser
Posted: Thu Jan 02, 2020 10:46 pm
by junoluna
just installed it on another laptop and it is saving passwords fine ...
i no understand nuffin