Ubuntu Linux: Install Google Chrome Browser Command

by on May 10, 2013 · 56 comments· LAST UPDATED October 23, 2013

in ,

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, FAQ I'm going to explain how to install Chrome browser in three simple steps.
Tutorial details
DifficultyIntermediate (rss)
Root privilegesYes
Requirementsapt-get/bash
Estimated completion time10m

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

Check out related media

This tutorial is also available in a quick video format:


Video 01: HowTo: Install Google Chrome in Ubuntu Linux Using apt-get Command Line

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 56 comments… read them below or add one }

1 Ashish May 10, 2013 at 6:48 pm

Thanks, I am able to install google chrome
Can you guide how to install Adobe flash player for google chrome.

Reply

2 nixCraft May 10, 2013 at 7:13 pm

Flash player is bundled with Google Chroma i.e. no need to install it. But, if you need flash-player for Firefox or Opera, open a terminal and type:

sudo apt-get install flashplugin-installer

HTH

Reply

3 Ashish May 10, 2013 at 7:26 pm

Thanks HTH
i can try the coomands.

Falsh player is not bundled for linux version of chrome.

Reply

4 Nishant October 30, 2013 at 6:12 am

HTH stands for “Hope that helped”. You can call him nixCraft or likely, Vivek.

HTH
- Nishant

Reply

5 Asim November 4, 2013 at 6:42 am

Thaks and love you it working perfectly

Reply

6 a May 10, 2013 at 7:00 pm

Or just paste these commands:

sudo mkdir -p /etc/apt/sources.list.d
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable -y

Reply

7 nixCraft May 10, 2013 at 7:14 pm

Thanks for sharing commands. I appreciate your post.

Reply

8 LeRon September 10, 2013 at 6:09 pm

Thanks! It worked for me!

Reply

9 loki December 13, 2013 at 6:13 am

nice and easy guide. thanks

Reply

10 Simon January 15, 2014 at 12:39 am

Thanks a you commands was easier and faster.
yours didn’t work on first time but got it work.I uninstalled chrome so i used his commands and worked first time.you should add his commands and say use this if it doesn’t work for you.

Reply

11 Tim Hicks February 12, 2014 at 5:25 pm

This pretty much worked perfectly for me, too, when the other suggestions would not. Only problem was that I got an error explaining I cannot use the “-y” switch, and also Google couldn’t be “authenticated” so it prompted me to make sure I still wanted to continue, twice.

Reply

12 Dave July 19, 2014 at 3:02 pm

that couldn’t have been easier. thanks “a”

running xubuntu: the instructions in the tutorial didn’t do the trick, but the commands above worked flawlessly

Reply

13 Mike May 10, 2013 at 7:24 pm

You might also need libudev0 installed before you can install Chrome in Ubuntu 13.04.
You can get it here.

Reply

14 Wilbert May 10, 2013 at 11:21 pm

On Xubuntu 13.04:
===
# apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages will be REMOVED:
google-chrome-stable
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 163 MB disk space will be freed.
Do you want to continue [Y/n]?
===

Reply

15 nixCraft May 11, 2013 at 8:34 am

Did you got the error message errors were encountered while processing? If not do not type

apt-get -f install

HTH

Reply

16 vamsi May 13, 2013 at 11:20 am

ubuntu 12.04LTS
root@vamsi:/tmp# apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 560 not upgraded.
root@vamsi:/tmp# google-chrome
google-chrome: command not found
what is the error?

Reply

17 deepak May 31, 2013 at 12:34 pm

very nice information thanks a lot………….

Reply

18 soyo June 5, 2013 at 6:40 am

thanks! but it seems it is not working

Reply

19 nixCraft June 5, 2013 at 12:55 pm

What seems to be the problem?

Reply

20 Jan June 13, 2013 at 5:51 pm

There is a typo in step two for 32 bit version

Step #2: Install .deb file

Type the following command to install 32 bit version:
$ sudo dpkg -i google-chrome-stable_current_i386.deb

Reply

21 martin July 2, 2013 at 9:50 am

Thank you very much!!! very useful.

First time using Ubuntu, I would just add that when entering a password it doesn’t appear anything on the terminal. I didn’t know that

Thank you!!

Reply

22 MarcP July 21, 2013 at 2:09 am

I got the same error as detailed, and when i typed the command
apt-get -f install
I got the error like the few above:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages will be REMOVED:
google-chrome-stable:i386
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 144 MB disk space will be freed.
Do you want to continue [Y/n]?

id did NOT do what the tutorial showed, but says I can not install. :(

HELP! I dislike firefox immensely, and want my chrome!

Reply

23 gigglefight July 22, 2013 at 8:55 am

found typo
on Step #2: Install .deb file

32-bit systems
“sudo dpkg -i google-chrome-stable_current_i386.deb”

great post! thank you.

Reply

24 Ghetto July 23, 2013 at 11:55 pm

i can’t open chrome even with those commands and pressing the windows button :( can someone please help???

Reply

25 Rodolfo July 25, 2013 at 2:24 pm

Hello
as an alternative… if like me.., you just want to use the debugger tools for web development.

you could install chromium-browser instead of google chrome

# already included in the Ubuntu repositories..
sudo apt-get install chromium-browser

Reply

26 connor August 12, 2013 at 2:04 pm

step #2 for 32 bit version should be sudo dpkg -i google-chrome-stable_current_i386.deb

Reply

27 xi'an October 23, 2013 at 6:47 am

Thank you, this is indeed the correct command!

Reply

28 Cosmo August 24, 2013 at 11:51 pm

Doesnt work at all, You’re an ass.

Reply

29 john August 28, 2013 at 2:06 pm

root@john-Inspiron-3521:/home/john# sudo dpkg -i google-chrome-stable_current_i386.deb
(Reading database … 197625 files and directories currently installed.)
Unpacking google-chrome-stable (from google-chrome-stable_current_i386.deb) …
dpkg-deb (subprocess): short read on buffer copy for failed to write to pipe in copy
xz: (stdin): Unexpected end of input
dpkg-deb (subprocess): subprocess data returned error exit status 1
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing google-chrome-stable_current_i386.deb (–install):
short read on buffer copy for backend dpkg-deb during `./opt/google/chrome/chrome’
Errors were encountered while processing:
google-chrome-stable_current_i386.deb
root@john-Inspiron-3521:/home/john# sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
root@john-Inspiron-3521:/home/john#

i downloaded the Google chrome software for ubuntu.and then install but the following errors will causing.
how to solve this error.

Reply

30 nixCraft August 28, 2013 at 4:20 pm

1) Delete current .deb file. Grab fresh copy again and install it.

2) According to this you need to disable anti-virus and try again.

HTH

Reply

31 Sheldon Livingston October 10, 2013 at 5:29 pm

Thanks for the post! Worked perfect.
Starting to play with Ubuntu…

Reply

32 Nimrod October 12, 2013 at 10:59 am

Thanks for this tut! I’ve just installed ubuntu on my laptop and I’m looking for how to install google chrome in it.. this solves my problem!

Reply

33 apb1963 October 19, 2013 at 5:42 pm

I’ve run this several times… just not working.

sudo dpkg -i google-chrome-stable_current_i386.deb
(Reading database ... 336090 files and directories currently installed.)
Preparing to replace google-chrome-stable 30.0.1599.101-1 (using google-chrome-stable_current_i386.deb) ...
Unpacking replacement google-chrome-stable ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on lib32gcc1 (>= 1:4.1.1); however:
  Package lib32gcc1 is not installed.
 google-chrome-stable depends on lib32stdc++6 (>= 4.6); however:
  Package lib32stdc++6 is not installed.
 google-chrome-stable depends on libc6-i386 (>= 2.11); however:
  Package libc6-i386 is not installed.
dpkg: error processing google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Errors were encountered while processing:
 google-chrome-stable
$ 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:
  libnepomukdatamanagement4 thunderbird-globalmenu libkexiv2-10 libkdegames5a libkipi8 linux-headers-3.2.0-51
  linux-headers-3.2.0-52 libboost-program-options1.46.1 linux-headers-3.2.0-52-generic-pae libkwinnvidiahack4 libkdecorations4
  liblightdm-gobject-1-0 libkwinglutils1 libnepomuksync4 libokularcore1abi1 unity-greeter libplasmaclock4abi3 libattica0.3
  liblastfm0 libsolidcontrolifaces4abi2 linux-headers-3.2.0-51-generic-pae libkwineffects1abi3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  google-chrome-stable
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 149 MB disk space will be freed.
Do you want to continue [Y/n]?

Reply

34 eMarcel October 28, 2013 at 1:12 pm

Accurate guide, I found it useful, Thanks!

Reply

35 mail October 29, 2013 at 3:51 am

Thank a lot. It’s useful guide.

Reply

36 Aseire November 12, 2013 at 1:07 am

On Ubuntu 12.04 the installation above seems to go fine and completes without errors. However when I type google-chrome on the command line I get:

(google-chrome:4633): Gtk-WARNING **: cannot open display:

Reply

37 kramer November 24, 2013 at 3:46 am

Hi so I have tried this 3 times now and I keep getting the complete opposite result at step 3 when fixing the errors

user1@ubuntu:/tmp$ 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:
  libkrb5-3:i386 libgconf-2-4:i386 libatk1.0-0:i386 libk5crypto3:i386
  libstdc++6:i386 libxfixes3:i386 libxcomposite1:i386 libldap-2.4-2:i386
  libroken18-heimdal:i386 libidn11:i386 gir1.2-ubuntuoneui-3.0 libnss3:i386
  libjpeg-turbo8:i386 libjpeg8:i386 libdbus-glib-1-2:i386
  libasn1-8-heimdal:i386 libcairo2:i386 libgnutls26:i386
  libgssapi3-heimdal:i386 libtasn1-3:i386 libfreetype6:i386 libexpat1:i386
  libdatrie1:i386 libavahi-common-data:i386 libgdk-pixbuf2.0-0:i386
  libxcb1:i386 libp11-kit0:i386 libwind0-heimdal:i386 libxau6:i386
  libpixman-1-0:i386 libcups2:i386 libcurl3:i386 libxinerama1:i386
  libkrb5support0:i386 libxft2:i386 libxdmcp6:i386 libgcrypt11:i386
  libthai0:i386 libkeyutils1:i386 libasound2:i386 libxrender1:i386
  libhcrypto4-heimdal:i386 libnspr4:i386 libhx509-5-heimdal:i386 libxss1:i386
  libheimbase1-heimdal:i386 libtiff4:i386 libjasper1:i386 libubuntuoneui-3.0-1
  libxtst6:i386 libavahi-client3:i386 thunderbird-globalmenu libx11-6:i386
  libsasl2-2:i386 libfontconfig1:i386 libpango1.0-0:i386
  libheimntlm0-heimdal:i386 libxdamage1:i386 libxcb-render0:i386 librtmp0:i386
  libgssapi-krb5-2:i386 libxi6:i386 libxcursor1:i386 libxcb-shm0:i386
  libxext6:i386 libsasl2-modules:i386 libavahi-common3:i386 libxrandr2:i386
  libsqlite3-0:i386 libgtk2.0-0:i386 libkrb5-26-heimdal:i386
  libgpg-error0:i386
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  google-chrome-stable:i386
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 158 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 169145 files and directories currently installed.)
Removing google-chrome-stable:i386 ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...

I get the following. Any recomondations?

Reply

38 nordan January 21, 2014 at 11:48 pm

Thank you a lot, I like firefox but I’m a big fan of google chrome. People like you make me feel happy to test UBUNTU, you guys make the diference.

Reply

39 RH User January 25, 2014 at 7:13 am

Red hat/Fedora user here. Just tested it on Ubuntu LTS 12.04. The tutorial worked as advertised. Loved it :D

Reply

40 dareknightbal January 26, 2014 at 4:50 am

realy nice work, it s wrking for me, thanks alot

Reply

41 Sanket January 28, 2014 at 6:34 pm

Thanks for the steps! That worked for me :)

Reply

42 Vashu February 1, 2014 at 8:31 am

Great !!…. Worked like charm.. On double clicking.deb file take us software center and install again. This is the right way to install chrome.

Reply

43 Tony February 6, 2014 at 10:05 pm

So why does the error come up in the first place. Just wondering?
:))

Reply

44 Tony February 6, 2014 at 10:06 pm

BTW…worked like a charm I don’t know why I like Chrome better than Firefox but I do lol.

Reply

45 Jane February 9, 2014 at 2:52 am

hello i would like to download this

Reply

46 Zeo February 10, 2014 at 6:16 pm

What to do i am not getting what should i do after putting error command and still not getting what should i do, for the next thing processing triggers for man-db and than
user name came in what should i do please tell me please

Reply

47 Zeo February 10, 2014 at 6:17 pm

tell me the next command to type to get it installed on the device, what is the commnand after the 3rd step pleaseeeeeeeeee tell us pleaseeeeeeeeee

Reply

48 Javi March 14, 2014 at 3:14 pm

Thanks for the tutoria. It was very helpful! :D

Reply

49 Flo March 27, 2014 at 4:10 pm

Perfect! Thank you!

Reply

50 Ajinkya April 3, 2014 at 1:00 pm

I am getting following error: (Ubuntu 11.04 natty.)
————————————————-
dpkg: error processing google-chrome-stable_current_i386.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
google-chrome-stable_current_i386.deb
——————————————————
If u have any solution, please reply.

Reply

51 Frank April 20, 2014 at 2:55 am

Where did you put the deb file ???
Go into that directory and type dpkg -i

Reply

52 auchomage April 20, 2014 at 5:51 pm

Thanks for these instructions Vivek.
They are a big help.

Reply

53 Kurt May 18, 2014 at 10:45 am

Worked just fine in Linux Mint 13 ‘MATE’ using your nice simple and accurate instructions. Many thanks for your help.

Reply

54 Steven June 10, 2014 at 4:44 am

How can I uninstall this? PLease answer soon.

Reply

55 sanjeev sharma June 19, 2014 at 10:42 am

thanx my dear——

Reply

56 jade July 19, 2014 at 8:27 am

i did it but it says bash: google-chrome: command not found please help!!

Reply

Leave a Comment

Tagged as: , , , ,

Previous Faq:

Next Faq: