How to Install Google Chrome on Elementary OS 5.1

The new Elementary OS 5.1 is now available for download. It comes with pretty minimal software. But don’t worry, installing the software in Elementary OS is pretty much easy. There are many software that can be installed through the AppCenter directly. But, sometimes we also need to install the software manually. So, in this article, I am going to install Google Chrome on Elementary OS 5.1 Hera. The main reason I want to switch to Chrome from Epiphany is that the Epiphany is very slow and uncomfortable.

Steps to Install Google Chrome on Elementary OS 5.1

Step 1. Download Google Chrome package

First, you will need to download the DEB file from this official download link. Choose DEB from the list. You should get a new file called : google-chrome-stable_current_amd64.deb

Step 2. Install the DEB file

Now, open Files and browse to your download directory. Open Terminal and cd to the download directory. In my case I put the file in /home/dhani/Downloads

cd /home/dhani/Downloads
sudo dpkg -i google-chrome-stable_current_amd64.deb

In most cases, you will see the following error:

dhani@dhani-virtual-machine:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb 
 [sudo] password for dhani:        
 Selecting previously unselected package google-chrome-stable.
 (Reading database … 141265 files and directories currently installed.)
 Preparing to unpack google-chrome-stable_current_amd64.deb …
 Unpacking google-chrome-stable (79.0.3945.88-1) …
 dpkg: dependency problems prevent configuration of google-chrome-stable:
  google-chrome-stable depends on fonts-liberation; however:
   Package fonts-liberation is not installed.
 dpkg: error processing package google-chrome-stable (--install):
  dependency problems - leaving unconfigured
 Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) …
 Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+elementary2~ubuntu5.0.1) …
 Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) …
 Rebuilding /usr/share/applications/bamf-2.index…
 Processing triggers for mime-support (3.60ubuntu1) …
 Processing triggers for man-db (2.8.3-2ubuntu0.1) …
 Errors were encountered while processing:
  google-chrome-stable

To fix this error, use this command

sudo apg-get -f install

Output:

dhani@dhani-virtual-machine:~/Downloads$ sudo apt-get -f install
 Reading package lists… Done
 Building dependency tree       
 Reading state information… Done
 Correcting dependencies… Done
 The following packages were automatically installed and are no longer required:
   gir1.2-vte-2.91 libido3-0.1-0
 Use 'sudo apt autoremove' to remove them.
 The following additional packages will be installed:
   fonts-liberation
 The following NEW packages will be installed:
   fonts-liberation
 0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
 1 not fully installed or removed.
 Need to get 822 kB of archives.
 After this operation, 2,139 kB of additional disk space will be used.
 Do you want to continue? [Y/n] y
 Get:1 http://jp.archive.ubuntu.com/ubuntu bionic-updates/main amd64 fonts-liberation all 1:1.07.4-7~18.04.1 [822 kB]
 Fetched 822 kB in 6s (127 kB/s)                                                                                                                                            
 Selecting previously unselected package fonts-liberation.
 (Reading database … 141377 files and directories currently installed.)
 Preparing to unpack …/fonts-liberation_1%3a1.07.4-7~18.04.1_all.deb …
 Unpacking fonts-liberation (1:1.07.4-7~18.04.1) …
 Setting up fonts-liberation (1:1.07.4-7~18.04.1) …
 Setting up google-chrome-stable (79.0.3945.88-1) …
 update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
 update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
 update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
 Processing triggers for fontconfig (2.12.6-0ubuntu2) …

Now Google Chrome should works properly.

Be the first to comment

Leave a Reply

Your email address will not be published.


*