How to install Ungoogled-Chromium

For Zorin:
(Source: https://ubuntuhandbook.org/index.php/2023/11/install-ungoogled-chromium-ubuntu/amp/)

Ubuntu PPA

For Ubuntu 22.04, Ubuntu 24.04, the xtradebs PPA also contains the browser packages for amd64 (Intel/AMD), arm64/armhf (Apple Silicon/Raspberry Pi) CPU architecture types.

First, press Ctrl+Alt+T on keyboard to open terminal. Then, run command to add the PPA:

sudo add-apt-repository ppa:xtradeb/apps

Type user password when it asks (no asterisk feedback) and hit Enter to continue.

sudo apt update

Finally, install the web browser as .deb package by running command:

sudo apt install ungoogled-chromium

For choice, also install ungoogled-chromium-driver package for WebDriver support.

For Debian 'sid':

(Source: Brave A.I. Search engine, expanded answer):

Official Ungoogled-Chromium Repository
The Ungoogled-Chromium project maintains its own repository for Debian and other distributions. You can install Ungoogled-Chromium by following these steps:

Add the Ungoogled-Chromium Repository:

sudo apt install -y curl
curl -sS https://dl.bintray.com/ungoogled-software/debian-bookworm/ungoogled-chromium.asc | sudo apt-key add -
echo 'deb https://dl.bintray.com/ungoogled-software/debian-bookworm/ ./' | sudo tee /etc/apt/sources.list.d/ungoogled-chromium.list

Update the Package List:

sudo apt update

Install Ungoogled-Chromium:

sudo apt install ungoogled-chromium
3 Likes

Adding to this: the default new tab page on Ungoogled-Chromium can look a bit boring and non-customizable. On top of that, it slowly gets filled with shortcuts to recently-visited websites, want it or not. That's how chrome/chromium handles when a search engine that isn't Google is set as default

However, there's a way to bring back all the customization that it has by default on chrome without using Google. To do so, type this in the URL bar:

chrome://flags/#custom-ntp

The chrome flags page will open, with one called "Custom New Tab Page" highlighted. Set it to enabled. In the square box, type this:

chrome://new-tab-page/

Technically, you could type any other website or search engine's main page instead if you wanted to. But this option allows you to have custom (or disabled) shortcuts and your own wallpaper on the new tab page, so I recommend this one.

Close the browser, open it again and it should be done. Try opening a new tab now and see for yourself.

One little annoyance with this is that the Google logo will be there, but the search is done with your default search engine, not Google, so this is just a visual annoyance, not a technical one.

2 Likes

Well it won't install on Q4OS (Konsole extract):

swarfendor437@Q4OSPlasma:~$ sudo curl -sS https://dl.bintray.com/ungoogled-software/debian-bookworm/ungoogled-chromium.asc | sudo apt-key add -
sudo: curl: command not found
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.
swarfendor437@Q4OSPlasma:~$ echo 'deb https://dl.bintray.com/ungoogled-software/debian-bookworm/ ./' | sudo tee /etc/apt/sources.list.d/ungoogled-chromium.list~
deb https://dl.bintray.com/ungoogled-software/debian-bookworm/ ./
swarfendor437@Q4OSPlasma:~$ sudo apt update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 Index of /debian bookworm InRelease
Hit:3 Index of /debian bookworm-updates InRelease
Hit:5 Steam for Linux - launcher stable InRelease
Hit:8 https://packages.mozilla.org/apt mozilla InRelease
Hit:4 https://q4os.org/q4repo q4os-5-0-cn InRelease
Ign:9 https://dl.bintray.com/ungoogled-software/debian-bookworm ./ InRelease
Hit:6 https://q4os.org/qextrepo bookworm-plasmalooks-cn InRelease
Err:10 https://dl.bintray.com/ungoogled-software/debian-bookworm ./ Release
404 Not Found [IP: 18.232.172.199 443]
Hit:7 https://q4os.org/qextrepo bookworm-firefox-cn InRelease
Reading package lists... Done
E: The repository 'https://dl.bintray.com/ungoogled-software/debian-bookworm ./ Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
swarfendor437@Q4OSPlasma:~$ sudo apt install ungoogled-chromium
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package ungoogled-chromium is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ungoogled-chromium' has no installation candidate

@swarfendor437 why not use the official instructions ?

1 Like

Can't use as it is for Sid. I am on bookworm.

You have to install curl first. You can do that with sudo apt install curl

Ugh tried to install it on noble which obviously fails :sweat:. It doesn’t have the packages. However 6gb for just a internet browser is overkill for me.

Don't know how much will this help, but I have been using it with the flatpak instead of the native package, as it's verified by the developer.

It works fine for me, though I haven't tried screensharing nor video-calls because I personally don't need to do them. But everything else you would expect from a web browser works fine in the flatpak (I'm using debian bookworm)

2 Likes

That is first part of the command for Debian install. And I refuse to use flatpak.

I've corrected the heading for Debian as it turns out only supported for sid release. :sob:

You don't have to use Flatpak. curl is for ... how can I say that ... grabbing Stuff from the Internet over the Terminal; another Thing would be wget. On Zorin it is preinstalled. But I guess on Debian it isn't, but You can simply install it with sudo apt install curl and when it is installed, the Command should work.

2 Likes

Ahem!

sudo apt install -y curl

The sid version installs but crashes a second after launching because it was built for 'sid' not 'bookworm'.