Blog

03/06/2019

Ubuntu Linux: Install Google Chrome Browser Command



I am unable to find Google Chrome Browser in Ubuntu software center. How do I install Google Chrome in Ubuntu version 12.04 LTS or v13.04 using command line options?

You can get a fast, free web browser from Google. You will find binary packages for the Debian/Ubuntu/Fedora/openSUSE Linux. In this, tutorial I am going to explain how to install Chrome browser in three simple steps.

Method #1: Install Google Chrome Using GUI

You need to visit the following url to grab the .deb file. Make sure you download 64 bit .deb version (there is no 32 bit version available).

=> Download Chrome Browser

Fig.01: Download Google Chrome bit deb package for Ubuntu Linux

Click on accept and install. Next you will get a screen as follows:

Fig.02: Open Google Chroma with “Software install”

Click on the install button:
Fig.03: Installing Google Chrome on Ubuntu using GUI

When prompted enter your password for installation:
Fig.04: Finishing installation by providing your password

And there you have it, Google Chrome just installed using the GUI method.

Method #2: Download qnd install 64 bit version using the command line

Open a terminal (press CTRL-ALT-t and type the following wget command to grab .deb file:
$ cd /tmp
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Sample outputs:

--2017-10-02 12:48:28--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 74.125.68.91, 74.125.68.93, 74.125.68.190, ...
Connecting to dl.google.com (dl.google.com)|74.125.68.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65267668 (62M) [application/x-debian-package]
Saving to: ‘google-chrome-stable_current_amd64.deb’
 
google-chrome-stable_ 100%[========================>]  62.24M   897KB/s    in 78s     
 
2017-10-02 12:49:46 (820 KB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [65267668/65267668]

Type the following command to install 64 bit version:
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
Sample outputs:

Selecting previously unselected package google-chrome-stable.
(Reading database ... 241631 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (61.0.3163.100-1) ...
Setting up google-chrome-stable (61.0.3163.100-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 bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...

A note about fixing “errors were encountered while processing” error

You may get an error that read as follows:

Fig.02: Errors were encountered while processing

Type the following command to fix the error and install Chrome:
$ sudo apt-get -f install

How do I use Google Chrome?

Simply type the following command:
google-chrome
google-chrome https://sxi.io/

Or use GUI option > Press Windows key > Type Google or Chrome in unity search bar:

Fig.03: Starting Google Chrome browser

So there you have it-the ultimate and fast Google Chrome running on Ubuntu Linux:

Fig.04: Google Chrome in action

Check out related media

This tutorial is also available in a quick video format:

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

14/08/2019

How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...
14/08/2019

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....
12/08/2019

How to Start and Enable Firewalld on CentOS 7

In this article, we discuss how to start and enable firewalld. It is highly recommended that you have a firewall protecting your server.Pre-Flight CheckThese...