How to Install Chromium on CentOS 8

Install Chromium on CentOS 8

In this article, we will have explained the necessary steps to installing and configure Chromium on CentOS 8. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Chromium is an open-source Web browser project started by Google, to provide the source code for the proprietary Google Chrome browser. Google Chrome is a closed source and collecting statistics on the use of the browser, and the Chromium version is open source.

Install Chromium on CentOS 8

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo dnf install epel-release
sudo dnf update

Step 2. Installation Chromium on the CentOS system.

  • Install Chromium via Snap.

Now enable snaps on CentOS:

sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap

Next, install Chromium using the following command below:

sudo snap install chromium
  • Install Chromium via default repository CentOS.

To install Chromium on CentOS 8, just do it with dnf the install command:

sudo dnf install chromium
  • Install Chrome via the official repository.

Add google chrome repository to the system:

sudo gedit /etc/yum.repos.d/google-chrome.repo

Next, add the following file:

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Run the dnf command below to install Chromium on the CentOS system:

sudo dnf install google-chrome-stable

Step 3. Launch the Chromium Browser.

You can start the Chromium browser either from the command line by typing chromium-browser or from the Applications overview search.

That’s all you need to do to install Chromium on CentOS 8. I hope you find this quick tip helpful. For further reading on Chromium free and open-source web browsers, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.