Install Google Chrome on Fedora Linux 34/35

Google Chrome is the most used Internet Explorer software on the earth, with a recent update in 2021 that Chrome is currently the primary browser of more than 2.65 billion internet users. However, as you would know, after installing Fedora, only Mozilla Firefox is packaged with the distribution but luckily, installing Google Chrome is a straightforward task.

In the following tutorial, you will learn how to install Google Chrome in three various ways in stable, beta, or unstable versions on Fedora Linux 34/35 Workstation desktop.

Prerequisites

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

The tutorial will utilize the terminal, which can be found in your show applications menu.

Example:

Install Google Chrome on Fedora Linux 34/35

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.

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

su

Install Dependency Required

Before installing, run the following command to ensure the following packages are installed.

sudo dnf install dnf-plugins-core -y

Import GPG Key & Repository

To successfully install Google Chrome and have the most up-to-date version in either stable, beta, or unstable, you must install the Google Chrome repository. This includes importing the GPG key to verify the authenticity of the installation and the repository itself.

Import GPG Key

You will need to download the GPG key for the Google Chrome installation in the first step.

To do this, run the following rpm import command:

sudo rpm --import https://dl.google.com/linux/linux_signing_key.pub

Download Google Chrome Stable and or Beta, Unstable Repositories

For Fedora Linux-based systems, the following repositories can be all imported as the packages are installed separately. It is recommended only to use Chrome stable for your daily use.

Download Google Chrome Stable Repository (Recommended):

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

Optional. Download Beta or Unstable RPM

Download Google Chrome Beta Repository:

wget https://dl.google.com/linux/direct/google-chrome-beta_current_x86_64.rpm

Download Google Chrome Unstable Repository (Dev):

wget https://dl.google.com/linux/direct/google-chrome-unstable_current_x86_64.rpm

Install Chrome Browser

Now you can install the RPM package using the DNF package manager.

sudo dnf install google-chrome-stable_current_x86_64.rpm

Example output:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

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

Next, verify the build and version of Chrome installed. This also indicates that Chrome was installed successfully.

google-chrome --version

Example output:

Google Chrome 94.0.4606.81 

Install Google Chrome Beta / Unstable

Alternatively, you can install Google Chrome Beta or Unstable if you have downloaded the repositories using the wget command. These two versions are not recommended for daily use.

However, you can install alternative versions for those who want to live on the edge.

Install Google Chrome Beta:

sudo dnf install google-chrome-beta_current_x86_64.rpm

Install Google Chrome Unstable (Dev):

sudo dnf install google-chrome-unstable_current_x86_64.rpm

Note these do not replace your stable version, and they are installed separately.

Next, verify the beta installation or unstable, use the following command.

Verify Google Chrome Beta:

google-chrome-beta --version

Example output:

Google Chrome 95.0.4638.40 beta

Verify Google Chrome Unstable:

google-chrome-unstable --version

Example output:

Google Chrome 96.0.4655.0 dev

To confirm that the Chrome installations successfully added the repositories to your repository list on Fedora. Please run the following dnf repolist command to ensure they are added and active.

sudo dnf repolist

Example output:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

As above, all three repositories are present, meaning you will receive updates in the future on either of the choices you decide to install.

Launch Google Chrome

Now that you have installed Chrome, you can launch the application. You can type the following command in the terminal to launch Chrome:

google-chrome

To run Chrome in the background and continue using the terminal:

google-chrome &

However, this isn’t practical, and you would use the following path on your desktop to open with the path: Activities > Show Applications > Google Chrome.

Alternatively, if you cannot find it, use the search function in the Show Applications menu if you have many applications installed.

Example:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

The first time you open Google Chrome, you will be greeted by the following pop up:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

Untick or leave as is and click the OK button to continue.

You will be prompted to sign in, skip this, or sign in optionally. Then you will see The Google Chrome Internet Browser finally as per below:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

Congratulations, you have installed Google Chrome on your desktop operating system.

Update Google Chrome

To update Google Chrome, run the DNF update command in your terminal:

sudo dnf update

If one is available, use the upgrade option:

sudo dnf upgrade

Note this will update all packages (recommended), for example, to upgrade the Chrome package.

sudo dnf upgrade google-chrome-stable

Remove (Uninstall) Google Chrome

To remove Google Chrome, use the following command:

sudo dnf autoremove google-chrome-stable

Example output:

How to Install Google Chrome Stable, Beta, or Unstable on Fedora 34 / 35

Type Y, then press the ENTER BUTTON to proceed with the uninstall.

If you have the beta or unstable builds installed.

Remove Google Chrome Beta:

sudo dnf autoremove google-chrome-beta

Remove Google Chrome Unstable (Dev build):

sudo dnf autoremove google-chrome-unstable

Comments and Conclusion

In the tutorial, you have learned how to add and import the GPG key and repository, then install Google Chrome’s latest stable version on Fedora. Overall, Chrome is the most used browser on the planet, with 70% of users using it. Remember, it is probably one of the most targeted Internet Browsers for zero-day exploits. Keep it up to date, and you will be fine.



Follow LinuxCapable.com!

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