Thursday, June 19, 2014

Install Google Chrome Browser Command

Step #1: Download Google Chrome

You need to visit the following url to grab the .deb file. Make sure you download 32 bit or 64 bit .deb version:
=> Download Chrome Browser
Fig.01: Download Google Chrome 32/64 bit deb package for Ubuntu Linux
Fig.01: Download Google Chrome 32/64 bit deb package for Ubuntu Linux

Download 32 bit version

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_i386.deb

Download 64 bit version using 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:
--2013-05-07 15:19:24--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 173.194.36.39, 173.194.36.35, 173.194.36.40, ...
Connecting to dl.google.com (dl.google.com)|173.194.36.39|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42434828 (40M) [application/x-debian-package]
Saving to: `google-chrome-stable_current_amd64.deb'
 
100%[======================================>] 4,24,34,828  466K/s   in 89s
 
2013-05-07 15:20:53 (466 KB/s) - `google-chrome-stable_current_amd64.deb' saved [42434828/42434828]
 

Step #2: Install .deb file

Type the following command to install 32 bit version:
$ sudo dpkg -i google-chrome-stable_current_i386.deb
Type the following command to install 64 bit version:
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
Sample outputs:
Fig.02: Errors were encountered while processing
Fig.02: Errors were encountered while processing

Step #3: Fixing "errors were encountered while processing" error

Type the following command to fix the error and install Chrome:
$ sudo apt-get -f install
Sample outputs:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libnss3-1d libxss1
The following NEW packages will be installed:
  libnss3-1d libxss1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 22.0 kB of archives.
After this operation, 162 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libnss3-1d amd64 3.14.3-0ubuntu0.12.04.1 [13.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise/main libxss1 amd64 1:1.2.1-2 [8,646 B]
Fetched 22.0 kB in 0s (23.6 kB/s)
Selecting previously unselected package libnss3-1d.
(Reading database ... 197880 files and directories currently installed.)
Unpacking libnss3-1d (from .../libnss3-1d_3.14.3-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package libxss1.
Unpacking libxss1 (from .../libxss1_1%3a1.2.1-2_amd64.deb) ...
Setting up libnss3-1d (3.14.3-0ubuntu0.12.04.1) ...
Setting up libxss1 (1:1.2.1-2) ...
Setting up google-chrome-stable (26.0.1410.63-r192696) ...
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/x-www-browser (x-www-browser) in auto mode.
update-alternatives: using /usr/bin/google-chrome to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

How do I use Google Chrome?

Simply type the following command:
google-chrome
google-chrome http://www.cyberciti.biz/

Or use GUI option > Press Windows key > Type Google or Chrome in unity search bar:
Fig.03: Starting Google Chrome browser
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
Fig.04: Google Chrome in action

0 comments: