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

Politicians Ought to Invite Dr. Richard Stallman and Prof. Eben Moglen to Speak About Policies, Licensing, Digital Sovereignty
Is there something in Europe other than RMS' talk this coming Monday (that we're not yet aware of)?
Good Explanation of Why IBM Has Chosen to Conceal Mass Layoffs (of 'Expensive' Staff) as "R.T.O." (Even For People Who Never Worked at the Office to Which They're Ordered to "Return")
Many remaining IBM (or Red Hat) workers in Europe are in "cheaper" places such as Brno
Microsoft's Serial Strangler and Matthew J. Garrett Join Forces in Trying to Gag Techrights (for Exposing Microsoft Corruption and Crimes Against Women)
Whose terrible idea was it?
 
Censored: Debian Zizian transgender vigilante comparisons in open source Linux communities
Reprinted with permission from Daniel Pocock
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, February 22, 2025
IRC logs for Saturday, February 22, 2025
Links 22/02/2025: OpenAI Plans to Possibly Abandon Microsoft, Facebook Doubles Execs' Bonuses While Sacking Thousands
Links for the day
Gemini Links 22/02/2025: Weekend Chill and Programming Thoughts
Links for the day
Links 22/02/2025: Labour Department Investigates Microsoft Infosys Amid Mass Layoffs, Large Law Firms Caught Red Handed With LLM Slop (Defrauding Clients and Courts)
Links for the day
Gemini Links 22/02/2025: Analog Stuff, Sigil, and SSGs
Links for the day
Microsoft's Market Share in Cameroon Falls to New Lows
This means a lot of Android users (iOS is about 4 times smaller), but Android does not mean freedom
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, February 21, 2025
IRC logs for Friday, February 21, 2025
The Streisand Effect is Real
So don't be evil. Also, don't strangle women.
Links 21/02/2025: Linux Foundation Openwashing, Microsoft Copilot Goes Down
Links for the day
Links 21/02/2025: Doomscrolling and European Ham Radio Show
Links for the day
Free University of Bozen-Bolzano Proud to Host Free Software Talk by Richard Stallman
ahead of Monday's talk
Slopwatch: Anti-Linux Machine-Generated FUD (LLM Slop) From GBHackers, CybersecurityNews, and Guardian Digital, Inc (Google News Promotes Slop Plagiarism, Misinformation)
Companies that lie try to drown out the signal with falsehoods
Links 21/02/2025: TikTok Layoffs, WebOS Software Patents in Bad Hands
Links for the day
Gemini Links 21/02/2025: Web Browsers, Mechanical Shortcuts, and Internet Hygiene
Links for the day
Richard Stallman 'Only' Founded the FSF
there's no reason to be upset at the FSF for keeping their founder in the Board
Techrights Disconnected From the United States Two Years Ago
Did people really need to wait for the US government to become this hostile towards the media before recognising the threat?
Before Trying Censorship by Extortion the Serial Strangler From Microsoft Literally Begged Us to Delete Pages
This is very clearly just a broad campaign of intimidation
Hype Watch: Weeks After Microsoft Disappointed Investors With "Hey Hi" It's Trying Some "Quantum" Hype (Adding Impractical Vapourware to Accompany This Hype and Even LLM Slop in 'News' Clothing)
Remember "metaverse"? What happened to media hype about "blockchain" and "IoT"?
Report About February Mass Layoffs at Microsoft (Third Wave of Microsoft Layoffs in 2025) Comes Back From the Dead
Yesterday we wrote about an article in CRN (reporting Microsoft layoffs) being removed without any reasons specified
Links 21/02/2025: Myanmar Scam Centre and Disruptions at USPTO
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, February 20, 2025
IRC logs for Thursday, February 20, 2025