Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web. The Chromium codebase is widely used, and Microsoft Edge, Opera, and many other browsers are based on the code. Chromium is well-liked amongst advanced users who prefer not to have all the bloat of tracking in Chrome and other proprietary software.
In the following tutorial, you will learn how to install Chromium Web Browser on Debian 11 Bullseye using APT or Flatpak installation using the command line terminal.
Table of Contents
First, update your system to ensure all existing packages are up to date to avoid any conflicts.
sudo apt update && sudo apt upgrade -y
Install Chromium Browser – APT Method
The first installation option is to use the APT manager, and this is the easiest method for installing Chromium and the quickest.
Run the following command to install Chromium Browser.
sudo apt install chromium -y
Install Chromium Browser – Flatpak Method
The second option is to use the Flatpak package manager. Flatpak has not been installed natively on Debian 11 Bullseye but can be quickly and easily and is an excellent option for a third-party repository package manager natively installed on most Linux distros.
First, install the Flatpak manager if it was removed previously.
sudo apt install flatpak -y
For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install Chromium using the following flatpak command.
flatpak install flathub org.chromium.Chromium -y
How to Launch Chromium Browser
Now that you have the Chromium Browser installed, launching can be done in a few ways.
First, in your terminal, type the following command to launch immediately.
Alternatively, Flatpak users will need to launch using the command below from a terminal instance:
flatpak run org.chromium.Chromium
However, this isn’t practical, and you would use the following path on your desktop.
Show Applications > Show Applications> Chromium Web Browser.
The first time you open Chromium, you will be greeted by its default homepage Google which you can change later.
Alternatively, you can confirm further the version installed, click on the settings in the right-hand corner and click About Chromium.
How to Update/Upgrade Chromium Browser
Depending on the method used, the following commands can be used to update.
sudo apt upgrade && sudo apt upgrade
How to Remove (Uninstall) Chromium Browser
For users that no longer require Chromium Browser, use one of the following commands to suit the method you used to install the browser.
APT Remove Method
sudo apt remove chromium-browser -y
Flatpak Remove Method
flatpak uninstall --delete-data org.chromium.Chromium
Next, run the following command for any leftover clean-up.
flatpak remove --unused
Comments and Conclusion
Chromium Browser is an excellent open-source choice that allows Linux distributions that need open-source software to package a browser almost identical to Chrome. Linux distributors can also use Chromium as the default web browser in place of Firefox. If you are looking for an alternative to Firefox or Chrome, we highly recommend giving Chromium a try!