How to Install Ungoogled Chromium on Ubuntu 24.04/22.04/20.04

Navigating the digital landscape requires tools that prioritize privacy and security. Ungoogled-Chromium offers a unique browsing experience, stripping away Google services while retaining the familiar Chromium framework. This browser is ideal for those seeking enhanced control over their data and browsing habits.

Key Features of Ungoogled-Chromium:

  • Privacy-Focused: No background communication with Google services.
  • Customizable: Extensions and tweaks without compromising security.
  • Open Source: Transparent and community-driven development.
  • Performance: Fast and lightweight, akin to Chromium.

With the introduction out of the way, let’s explore how to install Ungoogled-Chromium on Ubuntu 24.04, 22.04, or 20.04 LTS using the command-line terminal.

Method 1: Install Ungoogled Chromium via APT

Update Ubuntu Before Ungoogled Chromium Installation

Before diving into the installation process, updating your Ubuntu system’s APT (Advanced Packaging Tool) cache is crucial. An updated cache ensures your system knows the latest package versions, improving system security and stability.

Open your terminal and execute the following commands to update the APT cache and upgrade any outdated packages:

sudo apt update
sudo apt upgrade

If the system upgrade updates many packages, especially core components like the Linux Kernel, it’s recommended that you reboot your machine to complete the upgrade process.

Import Xtradeb PPA for Ungoogled Chromium

PPA (Personal Package Archive) allows you to install third-party software packages that are unavailable in Ubuntu’s standard repository. To install Ungoogled Chromium, you can utilize the XtraDeb Applications PPA. This PPA has a solid track record of offering reliable applications to Ubuntu users.

To add the XtraDeb Applications PPA to your system, run the following command:

sudo add-apt-repository ppa:xtradeb/apps -y

After adding the PPA, updating the APT cache is necessary. This ensures your system knows the new packages from the newly added PPA.

Execute the following command to accomplish this:

sudo apt update

Install Ungoogled Chromium via APT Command

With the PPA set up and the APT cache updated, you can now install Ungoogled Chromium on Ubuntu 22.04. Use the following command to initiate the installation:

sudo apt install ungoogled-chromium

Setup APT Pinning for Xtradeb PPA and Ungoogled Chromium (Optional)

You can use the APT pinning technique to modify your system’s package priorities, especially when dealing with the Ungoogled-Chromium package from the xtradeb/apps repository. This approach helps set a higher priority for selected packages, making them the preferred choice during installations or updates.

Here’s how you can do it:

Execute this command to establish a pinning preference for the Ungoogled-Chromium package:

echo "Package: ungoogled-chromium\nPin: release o=LP-PPA-xtradeb-apps\nPin-Priority: 700" | sudo tee /etc/apt/preferences.d/ungoogled-chromium-pin

This command uses the echo function to create the required pinning details piped into the sudo tee command. This process generates an ungoogled-chromium-pin file in the /etc/apt/preferences.d/ directory. The file is a directive for your system, ensuring it prioritizes the Ungoogled-Chromium package from this specific PPA over other versions.

Method 2: Install Ungoogled Chromium via Flatpak and Flathub

Note: If you’re new to Ubuntu, or perhaps Linux in general, and aren’t sure how to install Flatpak, take a look at our guide. It provides step-by-step instructions for installing the latest version of Flatpak via its official PPA, along with some other useful tips.

Enable Flathub for Ungoogled Chromium Installation

First, ensure the Flathub repository is enabled with the following command:

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Install Ungoogled Chromium via Flatpak Command

Now install Ungoogled Chromium on Ubuntu using the following command:

flatpak install flathub com.github.Eloston.UngoogledChromium

Launch Ungoogled Chromium via CLI or GUI

Starting from the Terminal

You’ve successfully installed Ungoogled Chromium; now it’s time to launch it. If you’re already working in the terminal, you can start the browser directly from there using the following command:

ungoogled-chromium

Flathub Installations of Ungoogled Chromium on Ubuntu need to run the alternative command:

flatpak run com.github.Eloston.UngoogledChromium

Launching via GUI

If you prefer interacting with graphical elements, you can launch Ungoogled Chromium by navigating to the application list. Here’s how to get there:

Go to Activities > Show Applications > Ungoogled Chromium

Managing Ungoogled Chromium

Update Ungoogled Chromium

APT Ungoogled Chromium Update Method

Since you’ve installed Ungoogled Chromium using a PPA, updating the browser is straightforward and similar to updating any other software on Ubuntu. Using the Advanced Packaging Tool (APT), you can keep your Ungoogled Chromium installation current alongside the rest of your system packages.

Run the following terminal commands to update your package list and then upgrade all installed packages, including Ungoogled Chromium:

sudo apt update
sudo apt upgrade

Flatpak Ungoogled Chromium Update Method

For Flatpak updates, run the following command that will blanket-check all Flatpak installations:

flatpak update

Remove Ungoogled Chromium

APT Ungoogled Chromium Remove Method

If you decide that Ungoogled Chromium is unsuitable for your needs, removing it is as easy as running a single command in your terminal. Execute the following command to remove the Ungoogled Chromium package from your system:

sudo apt remove ungoogled-chromium

After you’ve successfully uninstalled Ungoogled Chromium, removing the associated PPA from your list of repositories is advisable, especially if you’re not planning on using it for other installations. To do so, execute the following command:

sudo add-apt-repository --remove ppa:xtradeb/apps -y

This step ensures that your system will not check this repository when running future updates, thus maintaining a clean and streamlined package management process.

Note: If you’ve installed additional applications from this repository, like FileZilla or others, don’t remove the entire repository—uninstall Chromium. If you remove the PPA, you’ll disrupt the update process for any applications you’ve installed from it.

Flatpak Ungoogled Chromium Remove Method

To remove Ungoogled Chromium on Ubuntu, which Flatpak installed, use the following command to remove the software:

flatpak uninstall --delete-data com.github.Eloston.UngoogledChromium

Conclusion

In conclusion, this guide provided a simple approach to installing Ungoogled Chromium on Ubuntu using two methods: APT with XtraDeb Applications LaunchPAD PPA and Flatpak with Flathub. Ungoogled Chromium is an excellent choice for those prioritizing privacy while enjoying the familiar Chromium interface. It combines robust security features with a user-friendly experience. For privacy-conscious users, this browser offers a reliable solution free from trackers. Keep your browser up-to-date to ensure you have the latest security patches.

Joshua James
Follow me

Leave a Comment


en_USEnglish