Chromium, the open-source mother of the best browsers in the market, including Google Chrome, Microsoft Edge, Brave and so many others, is a great browser power packed with features.
Like many other distributions, Fedora also comes with Firefox as its default browser. But you can easily install Chromium on Fedora.
The simplest option is to open the software center application and search for Chromium. You’ll find the option to install Chromium there.
Additionally, there are two command line methods to install Chromium in Fedora Linux, which I will be walking you through:
- DNF (Fedora’s package manager and recommended)
- Flatpak (sandboxed packaging, might be slow to start, poor system integration and take more disk space)
Alternate method 1: Installing Chromium via DNF command
Previously, Chromium was only found in COPR repository (Fedora’s equivalent of Arch User Repository aka AUR), but now it’s actually available in the official repositories. Installing it now is a very easy task, you don’t have to add anything extra.
For that, start the terminal, and type:
sudo dnf install chromium
When asked, press Y key to confirm the installation. Chromium will be installed within a few minutes, and it will look like the image below:
Remove Chromium via DNF
Let me also tell you about the step for removing Chromium. You can either look for it in the software center and remove it from there or use the following command:
sudo dnf remove chromium
That is fairly easy, isn’t it? Let me show the Flatpak method as well.
Alternate method 2: Installing Chromium via Flatpak
Sandboxed Flatpak packaging is baked in Fedora. Sandboxing is a great technology and a good security measure. But it’s sad that apps lose integration with the operating system.
But if those things don’t bother you, install Flatpak version of Chromium on Fedora. In a terminal, use this command:
flatpak install app/org.chromium.Chromium
That will do the necessary to get Chromium ready for you.
Due to sandboxed nature of Flatpaks, the theme looks entirely different from the overall system dark theme. You can force the Flatpak package to adhere to the system theme with a little effort, though.
Removing Chromium Flatpak app
And to remove Chromium browser installed via Flatpak, just type this in the terminal:
flatpak remove chromium
Choosing All the Above from the options will completely remove chromium.
Final thoughts
I’m not a fan of Sandboxed applications for daily usage; I just prefer RPMs over Flatpak or Snap even if it includes complex steps which was not the case here, thankfully.
New to Fedora? We have a good starting point for you :)
I hope this tutorial helps you. Let me know your thoughts in the comments section.