How to Install Chromium Browser on Ubuntu 24.04, 22.04 or 20.04

Chromium Browser is the open-source foundation of Google Chrome, offering a lightweight yet powerful web browsing experience. Preferred by many for its speed and privacy features, Chromium is a top choice among developers and everyday users.

Why Choose Chromium Browser on your Ubuntu desktop?

  • Open-Source Nature: Freely modify and distribute the code.
  • Speed and Efficiency: Known for its quick loading times and minimal resource usage.
  • Enhanced Security Features: Regular updates to keep your browsing safe.
  • Extension Support: Access to a wide range of Chrome Web Store extensions.
  • Privacy Controls: Offers more control over your browsing data.
  • Developer-Friendly: Comes with built-in developer tools for web development.
  • Customization: Customize your browser with themes and extensions.
  • Cross-Platform: Available on various operating systems, including Ubuntu.

As we transition into the main article, you’ll learn the step-by-step process of installing Chromium on your Ubuntu system, ensuring you can enjoy a superior browsing experience with ease.

Install Chromium via APT

Update the Ubuntu System Before the Chromium Installation

Before proceeding with the installation of Chromium, it’s essential to update your Ubuntu system. This ensures that all existing packages are up-to-date, helping you avoid potential conflicts during the installation process. To update your system, execute the following command:

sudo apt update && sudo apt upgrade

Install Chromium via APT Commands

There are two main methods of installing Chromium on your Ubuntu system: using the Ubuntu repository or a PPA (Personal Package Archive). Each method has advantages, so let’s explore both options.

Method 1: Install Chromium Browser with the Ubuntu Repository

The first installation method uses the APT package manager. However, it’s important to note that this method installs Chromium as a Snap package, similar to the default installation of Firefox. This method is an excellent choice if you don’t mind using Snap packages. However, if you prefer a non-snap APT method, you may want to consider Method 2, which uses a PPA.

To install Chromium with the Ubuntu repository and Snapcraft, execute the following command:

sudo apt install chromium-browser

Method 2: Install Chromium Browser via APT PPA

The second method involves using the xtradeb/apps Launchpad PPA, which contains several well-known applications, including the Chromium browser. These applications are updated more frequently, making this PPA a reliable option for installing Chromium.

First, import the PPA by running the following command:

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

After adding the PPA, update the packages list with this command:

sudo apt update

Finally, install Chromium by executing the following command:

sudo apt install chromium

To adjust package priorities in your system, particularly for Chromium from the xtradeb/apps repository, you can employ the APT pinning technique. This method effectively sets a higher preference for specific packages, ensuring they are chosen over others during installation or updates.

The process is straightforward and can be executed using a concise command. Here’s the method:

Use the following command to set up a pinning preference for the Chromium package:

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

This command utilizes echo to generate the necessary pinning information, which is subsequently directed using a pipe (|) into the sudo tee command. This action creates a file in /etc/apt/preferences.d/ named chromium-pin. The file serves as an instruction for your system, ensuring it precedes the Chromium package from this particular PPA over other options.

Install Chromium via Flatpak and Flathub

This section will explore an alternative method to install Chromium using the Flatpak package manager. Flatpak is a universal packaging format similar to Snap, offering benefits such as sandboxing, easy distribution, and increased security for applications like Chromium.

Note: If your system does not have Flatpak installed, please refer to our comprehensive guide on How to Install Flatpak on Ubuntu for step-by-step instructions on installing the most recent supported version of Flatpak.

Enable Flathub For Chromium Browser Installation

Before installing Chromium through Flatpak, you must enable the Flathub repository, a primary source for Flatpak applications. To enable Flathub, execute the following command in your terminal:

flatpak remote-add --if-not-exists flathub

This command adds the Flathub repository to your Flatpak configuration, ensuring you have access to various applications, including Chromium.

Install Chromium via Flatpak Command

With Flathub enabled, you can install Chromium on Ubuntu using the flatpak install command. Run the following command in your terminal:

flatpak install flathub org.chromium.Chromium -y

This command installs Chromium from the Flathub repository, providing you with the latest browser version.

See also
How to Install Flameshot on Ubuntu 24.04, 22.04 or 20.04

Launch Chromium Browser via CLI or GUI

Now that you have successfully installed the Chromium Browser on your system, it’s time to launch it and start browsing. Depending on your preferences and installation method, there are several ways to open Chromium.

CLI Methods to Launch Chromium

You can launch Chromium immediately from your terminal by typing the following command:


If you installed Chromium using Flatpak, you would need to use a different command to launch it from the terminal:

flatpak run org.chromium.Chromium

While launching Chromium from the terminal can be quick and convenient, it might not always be the most practical option for everyday use.

GUI Method to Launch Chromium

You can launch Chromium directly from your desktop environment for a more user-friendly approach. To do this, follow these steps:

  1. Open the Show Applications menu at the bottom-left corner of your screen.
  2. Search for “Chromium” in the search bar or browse the list of installed applications.
  3. Click on the Chromium Web Browser icon to launch the browser.
Launching Chromium Browser from the application icon on Ubuntu.
Demonstrating Chromium Browser launch on Ubuntu LTS.

First-Time Tips with Chromium Browser

Now that you have successfully installed Chromium Browser on Ubuntu, here are some first-time tips on getting started with the software:

General Tips for Chromium

  • Familiarize with the Interface: Spend some time exploring the Chromium interface. Notice the address bar, bookmarks bar, and settings menu. Understanding the layout will make navigation and customization much easier.
  • Keyboard Shortcuts: Mastering keyboard shortcuts can significantly enhance your browsing efficiency. Use Ctrl+T to open a new tab, Ctrl+W to close the current tab, and Ctrl+Shift+N for incognito mode, among others.
  • Sync Your Data: If you have a Google account, consider syncing your bookmarks, passwords, and browser settings. This allows for a seamless transition between devices.
  • Explore Extensions: Chromium’s compatibility with Chrome Web Store extensions means you can customize your browser to fit your needs. From ad blockers to productivity tools, the options are vast.
  • Adjust Privacy Settings: Take a moment to review and adjust your privacy and security settings. Access this through the settings menu to manage cookies, site permissions, and more.

Customizations for Chromium

  • Change Themes: Personalize your Chromium experience by changing the browser theme. Themes can be found in the Chrome Web Store and range from simple color changes to complete design overhauls.
  • Modify the Default Search Engine: If you prefer a search engine other than Google, you can change this in the settings under ‘Search engine’.
  • Customize the New Tab Page: Use extensions or manually adjust settings to change what you see upon opening a new tab. This could be a blank page, a personal dashboard, or your favorite website.
  • Use Web Apps: Chromium allows you to create shortcuts for your favorite web apps and place them on your Ubuntu desktop or launcher for quick access.

Performance Tips for Chromium

  • Manage Tabs Wisely: Too many open tabs can slow down your browser. Use extensions like ‘One Tab’ or ‘Tab Wrangler’ to manage your tabs more efficiently.
  • Clear Cache Regularly: Over time, the browser cache can accumulate and affect performance. Clearing it periodically can help maintain speed. Access this option in the settings under ‘Privacy and security’.
  • Enable Hardware Acceleration: If your system supports it, enabling hardware acceleration can boost performance. Find this option in the settings under ‘System’.
  • Monitor Extensions: Some extensions can slow down your browser. Periodically review your installed extensions and remove any that are unnecessary or unused.

Security Tips for Chromium

  • Regularly Check for Updates: While this guide does not cover updating, it’s important to ensure your Chromium browser stays updated for security reasons.
  • Use Secure Connections: Pay attention to the security indicators in the address bar. Look for ‘HTTPS’ in URLs to ensure your connection is secure.
  • Install Security Extensions: Consider adding extensions that enhance security, such as HTTPS Everywhere or a reputable password manager.
  • Be Cautious with Downloads: Only download files from trusted sources to avoid malware. Chromium includes built-in malware scanning for downloads, but caution is always advised.
First-time launch of Chromium Browser on Ubuntu signaling successful installation.
Chromium Browser ready for use on Ubuntu after successful installation.

Managing Chromium Browser

This section will discuss how to update and uninstall the Chromium browser on your Ubuntu system and the installation method you used.

Update the Chromium Browser

To ensure optimal performance and security, it is essential to keep your Chromium browser updated. Depending on your installation method, use one of the following commands to update Chromium:

See also
How to Install Git on Ubuntu 24.04, 22.04 or 20.04

APT Chromium Update Method

If you installed Chromium using the APT package manager, execute the following command in your terminal to check for updates and upgrade all packages, including Chromium:

sudo apt upgrade && sudo apt upgrade

Flatpak Chromium Update Method

If you installed Chromium with Flatpak, use the following command to update the browser:

flatpak update

Remove Chromium Browser

If you no longer need the Chromium browser on your system, use one of the following commands based on your installation method to uninstall it:

APT Chromium Remove Method

For users who installed Chromium using the APT and Ubuntu’s repository package manager, execute the following command in your terminal to remove the browser:

sudo snap remove chromium

Note: Ubuntu’s default Chromium installation version now uses Snap, as you may have noticed when installing it, so it is best to use the Snap remove command.

Alternatively, if you installed Chromium from the PPA, you can run the following command to remove Chromium:

sudo apt remove chromium

Flatpak Chromium Remove Method

For users who installed Chromium using Flatpak, run the following command to uninstall the browser and delete its associated data:

flatpak uninstall --delete-data org.chromium.Chromium

Closing Thoughts

This guide explored the steps to install Chromium Browser on Ubuntu 24.04, 22.04, or 20.04, exploring both APT and Flatpak methods for various LTS versions. We also dived into first-time tips to enhance your browsing experience, covering everything from general navigation to security practices. As a final recommendation, take time to personalize Chromium to your liking and explore the vast array of extensions available.

Useful Links

Here are some valuable links related to using Chromium on an Ubuntu system:

  • Chromium Official Website: Visit the official Chromium website for information about the browser, its features, and latest updates.
  • Chromium Issue Tracking: Access the issue tracking page to report bugs, view existing issues, and follow the development progress of Chromium.
  • Chromium GitHub Repository: Explore the official Chromium GitHub repository to access the source code, report issues, and contribute to the project.
  • Chromium Source Code: Visit the Chromium source code repository to view and download the browser’s source code, explore commit history, and collaborate on development.

These links provide further information and resources to help you effectively use Chromium on your Ubuntu system.

Leave a Comment

TOC Index
Your Mastodon Instance
Share to...