Bonum Certa Men Certa

Brave Browser Installation and Setup on Debian 12



Reprinted with permission from Ryan Farmer.

Brave



Installing the Brave Web browser on Debian 12 is fairly straightforward.



You basically have two options.



Brave’s official Apt repository, which uses the native Debian packaging format, or the Flatpak if you’ve installed Flatpak support, as I discussed in my post about setting up Debian 12 (for KDE users…as Flathub only has setup instructions that are appropriate for GNOME) in my recent post.



Since the Flathub version is basically just Flathub making an unofficial Flatpak by dumping out one of the native packages (DEB or RPM, I don’t know) and then “sandboxing it”, which would block file system access to some of my extensions, I decided to use the native Debian package.



Brave has instructions here and recommends using theirs and not the unofficial Flatpak.



While it is ultimately up to you, we highly recommend only using official sources to download/install Brave.



You can download the Beta from our official website here.

-Brave’s Official Position on the Flathub version


However, I was hit by a small issue where, since I have multi-arch support set up to bring in 32-bit x86 libraries to run Windows 32-bit software in Wine, and Brave does not specify an arch, and they don’t have a 32-bit version of Brave, it led to an unsightly complaint about this from Apt every time I did apt update.



To remove the complaint, I followed the instructions here.



Since I already had the repository set up, I just opened /etc/apt/sources.list.d/brave-browser-release.list in nano.



sudo nano /etc/apt/sources.list.d/brave-browser-release.list



Then you see something like this:



echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list





So you change it to add “arch=amd64” (no quotes) after the “keyring.gpg”. It will look like this:



echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list





Then Ctrl+X and Y to save it and close nano. Then proceed to install Brave:



sudo apt update && sudo apt install brave-browser



Once you open Brave, you can begin setting the browser up.



Like most Web browsers, it offers to import everything from the browsers you have on your system. In my case, it found Firefox ESR and offered to import everything out of that. So I told it yes, and everything from Firefox re-appeared in Brave.



From this point, it was a matter of finding and turning off the Brave Rewards stuff, the visual clutter in the New Tab page, the widget for Rewards in the address bar, and “sponsored wallpapers” and “Brave News”.



Once I had done that, I went to Brave Shields (the ad blocker and anti-fingerprinting system), and chose aggressive ad blocking and aggressive anti-fingerprinting, and clicked on “Content Filtering” and set up the following extra block lists.



(Unlike some sad trashy Web browser from Microsoft or other ones from Google and Mozilla, Brave has a built-in ad blocker that will be totally exempt from Google’s upcoming ManifestV3 limitations. It blocks all kinds of garbage, but we can do better.)



Easylist Cookie



Fanboy’s Annoyances



Fanboy’s Social



Fanboy’s Anti-Newsletter



Fanboy’s Anti-Chat apps



Fanboy’s Mobile Notifications



ublock Annoyances (to be used with Fanboy’s Annoyances)



YouTube Mobile Distractions



YouTube Mobile Recommendations



Then I went to Social Media Blocking.



Disabled Facebook, LinkedIn, and Twitter embedded content and logins.



Went to Search engine/Manage search engines and site search.



Added Searx Belgium by clicking Add next to Site Search.



Search engine:



Searx Belgium



Shortcut:



sb



URL with %s in place of query:



https://searx.be/search?q=%s



(Click Add, then click the three dots on the right of the entry and Make Default)



Extensions:



Disable WebTorrent (it’s not great…KTorrent or others are better)



Disabled Widevine (Google’s Web DRM)



Web3



Turn off “Show Brave Wallet Icon in Toolbar”



Appearance:



Brave colors: Dark



System:



Memory Saver: On



(Set up any sites you want to exempt from being potentially unloaded in the background to save memory.)



Then I install my add-ons:



Sponsorblock for YouTube



Plasma Integration (By KDE, for better desktop integration with KDE)



Bypass Paywalls (Follow the instructions on the site for Chrome.)



NoScript Security Suite (Blocks JavaScript and other trash by default and lets the user whitelist domains.) (Exported my whitelist from LibreWolf and then imported the txt file to NoScript in Brave.)



Video Download Helper (needs CoApp for file system access if you save from HLS streams where the browsers download won’t work. Won’t work if you have browser from Flatpak)



(Linux users don’t need a license to use the Premium features in this extension, per the developer.)



“Because of Chrome Web Store policy, it is not possible to provide the ability to download from YouTube (Google owns both YouTube and Chrome and is abusing of this position).”

-Video Download Helper


Debian has yt-dlp which isn’t limited by the Chrome Web Store (and works on a lot of sites).



sudo apt install yt-dlp



Now Brave should be basically set up the way I use it.



Set up a Sync chain with your other devices and computers if you want to.



A note about a few other features I like in Brave:



Tor Mode



Brave support browsing in Private Mode over the Tor network. It isn’t as safe as using the Tor Browser, but it will stop your ISP or library or school or work WiFi from logging what you’re doing while you use their network to browse the Web.



Brave recommends using this for “privacy”, but not “bet your life on it”. If you live under an evil regime that is hell bent on unmasking you, it’s better to use the Tor Browser (and with the security slider on High if possible, or Medium failing that).



Potentially also useful as a second layer of defense for your VPN.



Speedreader



You can use this manually or have it activate itself whenever you encounter an article, to “blow away the junk” and automatically go to Reading Mode.



Web Apps



Install any site as its own dedicated application and pin it to your Taskbar.



Removes Google AMP links automatically.



Google AMP is a serious threat to Web users. It’s basically fraud. You can’t even tell that you’re using a Google server and not the site you think you’re on, and they’re made to make it harder to filter unwanted content out of than a real site.



Brave removes AMP and redirects you to the real Web site.



(Mainly a problem with news sites, especially in the Google App on Android. Brave removes AMP on their Android browser too.)



In summary, Brave is all kinds of cool.



They rip out the creepy junk from Chrome and leave you alone to browse the Web in peace.



The browser is quite fast and as secure as a Web browser is likely to be these days.



NoScript blocking most of the Active Scripting and related junk on the Web makes it even safer and faster.



Recent Techrights' Posts

[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Microsoft ("a Dying Megacorporation that Does Not Create") and IBM: An Era of Dying Giants With Leadership Deficits and Corporate Bailouts (Subsidies From Taxpayers)
Microsoft seems to be resorting to lots of bribes and chasing of bailouts (i.e. money from taxpayers worldwide)
Daniel Pocock: "I've Gone to Some Lengths to Demonstrate How Corporate Bad Actors Have Used Amateur-hour Codes of Conduct to Push Volunteers Into Modern Slavery"
"As David explains, the Codes of Conduct should work the other way around to regulate the poor behavior of corporations who have been far too close to the Debian Suicide Cluster."
 
Microsoft-Connected Sites Trying to Shift Attention Away From Microsoft's Megebreach Only Days Before Important If Not Unprecedented Grilling by the US Government?
Why does the mainstream media not entertain the possibility a lot of these talking points are directed out of Redmond?
Links 18/05/2024: Caledonia Emergency Powers, "UK Prosecutor's Office Went Too Far in the Assange Case"
Links for the day
US Patent and Trademark Office Sends Out a Warning to People Who Do Not Use Microsoft's Proprietary Formats
They're punishing people who wish to use open formats
Links 18/05/2024: Fury in Microsoft Over Studio Shutdowns, More Gaming Layoffs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 17, 2024
IRC logs for Friday, May 17, 2024
Links 18/05/2024: KOReader, Benben v0.5.0 Progress Update, and More
Links for the day
[Meme] UEFI 'Secure' Boot Boiling Frog
UEFI 'Secure' Boot: You can just ignore it. You can just turn it off. You can hack on it as a workaround. Just use Windows dammit!
The Market Wants to Delete Windows and Install GNU/Linux, UEFI 'Secure' Boot Must Go!
To be very clear, this has nothing to do with security and those who insist that it is have absolutely no credentials
In the United States Of America the Estimated Share of Google Search Grew After Microsoft's Chatbot Hype (Which Coincided With Mass Layoffs at Bing)
Microsoft's chatbot hype started in late 2022
Techrights Will Categorically Object to Any Attempts to Deny Its Right to Publish Informative, Factual Material
we'll continue to publish about 20 pages per day while challenging censorship attempts
Links 17/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, More YouTube Censorship
Links for the day
YouTube Progresses to the Next Level
YouTube is a ticking time bomb
Journalists and Human Rights Groups Back Julian Assange Ahead of Monday's Likely Very Final Decision
From the past 24 hours...
[Meme] George Washington and the Bill of Rights
Centuries have passed since the days of George Washington, but the principles are still the same
Video of Richard Stallman's Talk From Four Weeks Ago
2-hour video of Richard Stallman speaking less than a month ago
statCounter Says Twitter/X Share in Russia Fell From 23% to 2.3% in 3 Years
it seems like YouTube gained a lot
Journalist Who Won Awards for His Coverage of the Julian Assange Ordeals Excluded and Denied Access to Final Hearing
One can speculate about the true reason/s
Richard Stallman's Talk, Scheduled for Two Days Ago, Was Not Canceled But Really Delayed
American in Paris
3 More Weeks for Daniel Pocock's Campaign to Win a Seat in European Parliament Elections
Friday 3 weeks from now is polling day
Microsoft Should Have Been Fined and Sanctioned Over UEFI 'Lockout' (Locking GNU/Linux Out of New PCs)
Why did that not happen?
Gemini Links 16/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, Cash Issues
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 16, 2024
IRC logs for Thursday, May 16, 2024
Ex-Red Hat CEO Paul Cormier Did Not Retire, He Just Left IBM/Red Hat a Month Ago (Ahead of Layoff Speculations)
Rather than retire he took a similar position at another company
Linux.com Made Its First 'Article' in Over and Month, It Was 10 Words in Total, and It's Not About Linux
play some 'webapp' and maybe get some digital 'certificate' for a meme like 'clown computing'
[Meme] Never Appease the Occupiers
Freedom requires truth. Free speech emancipates.
Thorny Issues, Violent Response
They say protests (or strikes) that do not disrupt anything are simply not effective. The same can be said about reporting.
GNU/Linux in Malaysia: From 0.2 Percent to 6+ Percent
That's like 30-fold increase in relative share
Liberty in Liberia? Windows Falls Below 10% and Below iOS
This is clearly a problem for Microsoft
Techrights Congratulates Raspberry Pi (With Caution and Reservations)
Raspberry Pi will "make or break" based on the decisions made in its boardroom
OSI Makes a Killing for Bill Gates and Microsoft (Plagiarism and GPL Violations Whitewashed and Openwashed)
meme and more
The FSF Ought to Protest Against UEFI 'Secure Boot' (Like It Used To)
libreplanet-discuss stuff
People Who Defend Richard Stallman's Right to Deliver Talks About His Work Are Subjected to Online Abuse and Censorship
Stallman video removed
GNU/Linux Grows in Denmark, But Much of That is ChromeOS, Which Means No Freedom
Google never designs operating systems with freedom in mind
Links 16/05/2024: Vehicles Lasting Fewer Years, Habitat Fragmentation Concerns
Links for the day
GNU/Linux Reaches 6.5% in Canada (Including ChromeOS), Based on statCounter
Not many news sites are left to cover this, let alone advocate for GNU/Linux
Links 16/05/2024: Orangutans as Political Props, VMware Calls Proprietary 'Free'
Links for the day
The Only Thing the So-called 'Hey Hi Revolution' Gave Microsoft is More Debt
Microsoft bailouts
TechTarget (and Computer Weekly et al): We Target 'Audiences' to Sell Your Products (Using Fake Articles and Surveillance)
It is a deeply rogue industry that's killing legitimate journalism by drowning out the signal (real journalism) with sponsored fodder
FUD Alert: 2024 is Not 2011 and Ebury is Not "Linux"
We've seen Microsofers (actual Microsoft employees) putting in a lot of effort to shift the heat to Linux
Links 15/05/2024: XBox Trouble, Slovakia PM Shot 5 Times
Links for the day
Windows in Times of Conflict
In pictures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 15, 2024
IRC logs for Wednesday, May 15, 2024