Two different ways to install Google Chrome on Fedora 31

fedora-31-google-chrome

After you have successfully performed installing Fedora 31 on your computer or on your virtual machine, there are several things to do to be able to configure the system and feel a little more comfortable. Fedora includes Firefox by default as a web browser, although for the case of many (I include myself) prefer to use Chrome / Chromium.

That is why this time we are going to share this article with you for those who do not know how to install Chrome in Fedora 31 with two different methods, from which they can install this browser on their system.

Installing Google Chrome / Chromium from repositories

The first method that we share, it will allow us to install Google Chrome, It is by enabling the repositories of this in the system.

For this let's open the system software center, in which we can search for Chromium to be able to install it on the system (in case you prefer this). While for those who prefer Chrome let's click on the hamburger menu which is in the upper left.

Here a menu will open and we are going to select the option "Software Repositories". A new window will open and we will click on the only option which is the "button to enable third-party repositories".

Once this is done, more options will be displayed, of which we can enable different repositories for the system. Of them and among the first options we can see that of "Google" which we can enable by clicking on it and then on the "Activate" button.

Now we close the window and the repositories will have to be updated. (In my case it did not happen, but they can be updated by opening a terminal and in it we type sudo dnf update).

We can install Chrome from a terminal by typing:
sudo dnf install google-chrome-stable -y

For those who prefer trial versions:
sudo dnf install google-chrome-unstable -y

Or for those who want to install Chromium from the terminal, they can do so by typing the following command in it:

sudo dnf install chromium -y

This process can also be done from the terminal, in it we only have to type the following command to enable the extra repositories:
sudo dnf install fedora-workstation-repositories

Done this we just have to type "y" to continue. After that, we are going to enable the Google repository in the system, which we do by typing:
sudo dnf config-manager --set-enabled google-chrome

Finally to install the browser we just type:
sudo dnf install google-chrome-stable -y

Or to install beta version and unstable version.
sudo dnf install google-chrome-beta -y
sudo dnf instalar google-chrome-unstable -y

Installing Chrome from RPM package

The other method to be able to install Google Chrome on Fedora 31 is downloading the RPM package of the browser directly from the official website of this. PYou can do it from the following link.

Here we are going to select that we want to download the RPM package and we are going to accept the browser's terms of use in the window that opens to download the package.

Once the download is done, we will go to our downloads folder (it is the default location), if you selected another location you must go to it.

Being in the folder where we save the rpm package from Google Chrome, we have two ways to install it. The first one is with the system package manager. That is to say, double clicking on this and the software center will open, which will not ask for confirmation to install the package.

The other way to install the package is from the terminal, which we must position within the folder where we save the rpm package.

In the case of the default location, which is downloads, we access this folder only by typing:

cd Descargas

Y We can install the rpm package by executing the following command:

sudo rpm -ivh google*.rpm

And ready with it, you can start using this browser in your new installation of Fedora 31.