3

I want to install Brave brower on Elementary OS, it is not present in the App Center or the official repos. I googled but I could not find something simple that I as a linux beginner (Noob😣) could understand and do. Is there a simple way to do it?something similar to sudo apt-get install Brave .

1

According to the official docs of the Brave browser you can install it via apt-get after adding the repository to your sources list:

curl https://s3-us-west-2.amazonaws.com/brave-apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://s3-us-west-2.amazonaws.com/brave-apt `lsb_release -sc` main" | sudo tee -a /etc/apt/sources.list.d/brave-`lsb_release -sc`.list

sudo apt update
sudo apt install brave

More info: here

  • 1
    This doesn't appear to work anymore. I keep getting a 403 Forbidden whenever it tries to download the apt files from S3, while running sudo apt update – speckledcarp Jun 26 '18 at 0:57
  • I used the work around discussed here github.com/brave/browser-laptop/issues/6649 To pretend like xenial after getting 403 Forbidden, I manually edit /etc/apt/sources.list.d/brave-loki.list file (loki to xenial). – otterb Jun 29 '18 at 19:53
  • You need to modify the distribution-specific information (lsb_release returned value), to use the value of Ubuntu's one instead of elementary os, i.e 'bionic' for elementary os Juno, instead of 'juno'. So the complete command would be: echo "deb [arch=amd64] https://s3-us-west-2.amazonaws.com/brave-apt bionic main" | sudo tee -a /etc/apt/sources.list.d/brave-bionic.list – RandomUser Apr 2 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.