Can't install Brave on Debian

Description of the issue:
I cant install Brave Browser on my Debian 9 OS.

Steps to Reproduce:

First I tried to follow your instructions on your official website :
https://brave-browser.readthedocs.io/en/latest/installing-brave.html#linux
But it failed with :
E: Malformed entry 1 in list file /etc/apt/sources.list.d/brave-browser-release-.list (Component)


Basically the line E: La liste des sources ne peut etre lue
means : The sources list can not be read

I tried to install it from apt, I followed many tutorials but apt does not seems to retrieve the url. Here is which tutorial I followed : https://www.debian-fr.org/t/soyons-brave-utilisons-ce-navigateur-dans-debian/77981 (in french, sorry)

Here is what I got :


The line Le telechargement ...
means : Downloading of some index files failed, they have been ignored, or the old one have been used instead.
And then Impossible de trouver le paquet brave-browser
means : Impossible to find the package brave-browser
I also tried to add the beta dependency, but it seems to loop or timeout on 0 % :

brave3

(I also tried to comment the ‘release’ and only let the ‘beta’ in my brave.list, did not work either)

As last test, I decided to git clone your GitHub repository and try to compile Brave Browser by myself.

I followed your instructions on this link : https://github.com/brave/brave-browser/wiki/Linux-Development-Environment
In this link, I am told to launch install-build-deps.sh from the repository src/build :

# cd to brave-browser repo root
./src/build/install-build-deps.sh

But, when I ls src :

brave4

As you can see, there is absolutely nothing in src/ folder.

It is really too bad as I really want to get Brave on my Debian (I tested Brave Browser on Windows and I completely fall in love with it).
If anyone has a suggestion, it would be really nice !

Thanks in advance,
Regards,
Elynad

greetings, user of debian 9

it would seem to me that since you are attempting to use debian, which is not an officially supported OS for brave, the $UBUNTU_CODENAME shell variable that’s used as part of the official install steps with apt doesn’t exist.

you seem to be cloning the git repo correctly, however the build method you mention is either depracated or ill-informed.

on the git repo, in the current stable release, the readme instructs one to use npm build and npm install, and there is no mention of an included shell script to do the same.
https://github.com/brave/brave-browser/wiki#user-content-build-brave

credit where credit is due, a generic +1 for being a full and proper debian user, and the quality screenshots are greatly appreciated.

sorry this is late

  • mage

This topic was automatically closed after 30 days. New replies are no longer allowed.