31
July
2024
17:09

Installing Chromium Browser from Flatpak

31 July 2024 17:09

It is best to install Chromium from FlatPak - since the Ubuntu repository has version 126.0, and flatpak has the newer chromium 127.0.

FlatPak is a platform-independent software repository for Linux operating systems

Step 1. Install flatpak

sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt install flatpak

Detailed instructions for installing Flatpak for various operating systems -https://flathub.org/ru/setup.

Step 2. Install chromium using flatpak

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

Step 3: Launch Chromium Browser

Chromium was launched for the first time from the command line

flatpak run org.chromium.Chromium

A shortcut to launch the browser has appeared in the Start - Internet menu, but so far without an icon. Logged out of the session and started the user session. The Chromium icon appears in the Linux menu!

NB:I deleted the information about the alacarte menu editor, because... no menu editor needed.

Step 4. Install xdg-portal and start the service

How to configure xdg-portal launch

Step 5: Clear Chromium Logs with BleachBit

BleachBit program - replacement CCleaner for Linux environment.

4.1) Installing Bleachbit
https://www.bleachbit.org/download/linux-> Ubuntu 20.04 (or other option) -> save DEB file

You can find out the OS version with the command lsb_release -a, the rest of the information can be found by searching on the Internet for “distribution name codebase” - for example, Linux Mint 21.3 “virginia” corresponds to the Ubuntu 22.04 codebase.

Open the DEB file - the program “Installing the bleachbit package” will start -> install the package.

4.2) In the “Start-System” menu, launch “BleachBit” on behalf of the current user (not the administrator!), set the necessary items, for example, “Cookies”, “Cache”, “DOM Storage” and click the “Cleanup” button.


Last change: 04/26/2025



Related publications