How to Install Chromium Browser on Fedora 35

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. Microsoft Edge, Opera, and many other browsers are based on the code.

In the following guide, you will know how to install Chromium Web Browser on your Fedora 35 Workstation desktop.

Prerequisites

  • Recommended OS: Fedora Linux 35
  • User account: A user account with sudo or root access.

Update Operating System

Update your Fedora operating system to make sure all existing packages are up to date:

sudo dnf upgrade --refresh -y

The tutorial will be using the sudo command and assuming you have sudo status.

To verify sudo status on your account:

sudo whoami

Example output showing sudo status:

[joshua@fedora ~]$ sudo whoami
root

To set up an existing or new sudo account, visit our tutorial on Adding a User to Sudoers on Fedora.

To use the root account, use the following command with the root password to log in.

su

Install Dependency Required

Before you proceed with the installation, run the following command to install or check that the package dnf-plugins-core is installed on your Fedora desktop.

sudo dnf install dnf-plugins-core -y

By default, this should be installed.

The tutorial will be utilizing the terminal, and this can be found in your show applications menu.

Example:

How to Install Chromium Browser on Fedora 35

Method 1. Install Chromium with DNF

The first option is to use the native Fedora repository. This is the recommended way to install Chromium Browser for Fedora users by utilizing the DNF package manager.

In your terminal, use the following dnf install command:

sudo dnf install chromium

Example output:

How to Install Chromium Browser on Fedora 35

Type Y, then press the ENTER KEY to proceed with the installation.

To confirm the version installed, use the following command.

chromium-browser --version

Example output:

Chromium 94.0.4606.81 Fedora Project

Chromium updates are handled using the standard dnf upgrade –refresh command.

sudo dnf upgrade --refresh

If you no longer wish to have Chromium installed with the DNF method, use the following command to remove the package.

sudo dnf autoremove chromium

This will automatically remove any unused dependencies that were installed originally.

Method 2 – Install Chromium with Flatpak

The second option is to use the Flatpak package manager. Flatpak should be installed on your Fedora operating system unless it was removed.

First, install the Flatpak package if it is missing.

sudo dnf install flatpak -y

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

Example output:

How to Install Chromium Browser on Fedora 35

Type Y twice, then press the ENTER KEY twice to proceed with the installation.

ICON MISSING? RESTART YOUR SESSION! 

Sometimes the application icon can not appear. You can log in and out of your session or use the following terminal command.

sudo systemctl restart gdm

Updates are handled by Flatpack automatically every time you log into your system after around 10 minutes in.

However, if you need to update manually, use the following command.

flatpak update

To remove the Flatpack version of Chromium, run the following command:

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

Example output:

How to Install Chromium Browser on Fedora 35

Type Y and then ENTER KEY to proceed with the removal of Chromium using the Flatpak method.

Method 3. Install Chromium with Snap (Snapcraft)

The second option is to use the Snap package manager. Fedora users may be familiar with Snap as it is created and maintained by Ubuntu; however, it is not natively installed on your system. However, this can be installed relatively quickly.

To install Snap, use the following command:

sudo dnf install snapd

Example output:

How to Install Chromium Browser on Fedora 35

Type Y, then press the ENTER KEY to proceed with the installation.

Once Snap is installed, it is highly recommended to log out and back in again or restart your service to ensure snap’s paths are updated correctly.

sudo systemctl restart snapd

Next, some packages come in classic, so you need to create a symlink to enable classic snap support.

sudo ln -s /var/lib/snapd/snap /snap

Next, you need to install the “snap core files” for everything to work correctly. Failure to do this may result in issues down the track.

sudo snap install core

Example output:

core 16-2.52.1 from Canonical✓ installed

Next, install the Chromium package using snap:

sudo snap install chromium

Example output:

chromium 95.0.4638.69 from Canonical✓ installed

As above, this informs you the Chromium Browser was successfully installed and the version number. A benefit of using Snap to install Chromium is that it will be the most updated version compared to Flatpak and Fedora repositories.

YOU MUST RESTART YOUR SESSION IF THE SHOW APPLICATIONS ICON IS MISSING! 

To view the application icon, you can log in and out of your session or use the following terminal command.

sudo systemctl restart gdm

Note, if your icon is not missing, then ignore the above command.

Snap packages are more significant in size than traditional repositories through the DNF package manager for several reasons. However, the trade-off is more straightforward maintained packages that are often updated to the latest available version.

For the future, to update along with and any other packages installed by Snap, run the following command:

sudo snap refresh

If you no longer need to have Chromium installed, remove it using the Snap remove command.

sudo snap remove chromium

Example output:

chromium removed

How to Launch Chromium Browser

Now that you have the Chromium Browser installed, launching can be done in a few ways.

In your terminal type:

chromium

If you would like to launch Chromium and use the terminal, send it to the background:

chromium &

Alternatively, Flatpak users will need to launch using the command below from a terminal instance:

flatpak run flatpak run org.chromium.Chromium

However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Chromium Web Browser. If you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

Example:

How to Install Chromium Browser on Fedora 35

The first time you open Chromium, you will be greeted by its default homepage.

Example:

How to Install Chromium Browser on Fedora 35

Comments and Conclusion

In the guide, you have learned to install the Chromium Web Browser on Fedora 35 in three different ways and remove the package if no longer required.

Overall, 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.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!