This tutorial is for beginners in LinuxBecause we are going to share some ways to install the Google Chrome browser on Linux.
Google Chrome developers officially offer deb and rpm packages for the installation of this browser in the respective Linux distributions with support for this type of packages.
Also, before proceeding to the direct installation of the Google Chrome browser on Linux, it is essential that you take into account Google Chrome no longer include 32-bit support for Linux.
Table of Contents
- 1 Installing Google Chrome from the deb package
- 2 Installing Google Chrome on Debian, Ubuntu and derivatives from repository
- 3 Installing Google Chrome from the rpm package
- 4 Installing Google Chrome from repository on CentOS, RHEL, Fedora and derivatives.
- 5 Installing Google Chrome on Arch Linux and derivatives.
Installing Google Chrome from the deb package
In the case of Debian-based systems such as Deepin OS, Neptune, Tails or even their derivatives such as Ubuntu, Linux Mint, Elementary OS or any distribution with support for deb packages.
Must of download the package from the official Google Chrome page, so they should go to the following link to get the package.
Or from the terminal with:
Done the package download they can install directly with their preferred package manager, or from the terminal they can do it by typing the following command:
sudo dpkg -i google-chrome-stable_current_amd64.deb
And in case you have problems with dependencies, you can solve them by typing the following command:
sudo apt install -f
Installing Google Chrome on Debian, Ubuntu and derivatives from repository
It is also possible to install the browser without having to download the deb package, for this it is necessary to add a repository to the system, which is added with the following command:
sudo nano /etc/apt/sources.list.d/google-chrome.list
And inside the file we must add the following:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
We save with Ctrl + O and exit with Ctrl + X. Once this is done, it is necessary that we import the public key from the Google Chrome repository, we do this by typing:
We must import it into the system with:
signing key chrome sudo apt-key add linux_signing_key.pub
Now We must update our list of repositories and applications with:
sudo apt update
Y finally we install the application with:
sudo apt install google-chrome-stable
Installing Google Chrome from the rpm package
For, the case of systems with support for RPM packages such as CentOS, RHEL, Fedora, openSUSE and derivatives they should download the rpm package, which can be obtained from the following link.
Once the download is done, they must install the package with their preferred package manager or from the terminal they can do it with the following command:
sudo rpm -i google-chrome-stable_current_x86_64.rpm
Installing Google Chrome from repository on CentOS, RHEL, Fedora and derivatives.
For these systems we can add a repository which will help us to install the browser without having to download the RPM file.
In the special case of Fedora 28 if you activated the third-party repositories since you installed, there is no need to add anything, just go to the installation command.
On the other hand if not, you just have to type:
dnf install fedora-workstation-repositories dnf config-manager --set-enabled google-chrome
For all other systems to add the repository to the system, just type the following in the terminal to add the corresponding to /etc/yum.repos.d/google-chrome.repo
cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl.google.com/linux/linux_signing_key.pub EOF
Done this, already We can install the web browser on the system with any of the following commands:
dnf install google-chrome-stable yum install google-chrome-stable
Installing Google Chrome on Arch Linux and derivatives.
In the case of Arch Linux and systems derived from it, such as Manjaro, Antergos and others, we can install the application from the AUR repositories.
So that must have an AUR wizard installed on their systems, You can check the following link where I share some of them.
They simply have to type the following command in the terminal:
yay -S google-chrome
And ready with it, you will have already installed the Google Chrome browser on your system.
Although in most distributions the browser is within their repositories, they do not always have the most current version. So if there is an official channel it is better to use it.