≡ Menu

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, 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

{ 64 comments… add one }

  • Ashish May 10, 2013, 6:48 pm

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

    • nixCraft May 10, 2013, 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

      • Ashish May 10, 2013, 7:26 pm

        Thanks HTH
        i can try the coomands.

        Falsh player is not bundled for linux version of chrome.

        • Nishant October 30, 2013, 6:12 am

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

          HTH
          – Nishant

          • Asim November 4, 2013, 6:42 am

            Thaks and love you it working perfectly

  • a May 10, 2013, 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
    • nixCraft May 10, 2013, 7:14 pm

      Thanks for sharing commands. I appreciate your post.

    • LeRon September 10, 2013, 6:09 pm

      Thanks! It worked for me!

    • loki December 13, 2013, 6:13 am

      nice and easy guide. thanks

    • Simon January 15, 2014, 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.

    • Tim Hicks February 12, 2014, 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.

    • Dave July 19, 2014, 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

    • Robert December 15, 2014, 6:03 am

      Wow the commands you’ve given have really helped. I’ve been wanting to escape from the tyranny , holes, and control of winblows and althernative was to expensive, slow, and boring as well as limited to use (Macintrash)…
      I’ve been looking and experimenting with different linux OS’s as there’s so many now. And the users I use to hang out with on botnets (as I had a window ported linux bot at one time and chatted with other botnet owners on random linux problems, for the bot or on the irc network for basic things.
      I’ve been hunting for live chat spots to hang and learn more from others about my linux system. especially regarding line commands. ANY SUGGESTIONS? Thanks Again Man.. You’re awesome..

  • Mike May 10, 2013, 7:24 pm

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

  • Wilbert May 10, 2013, 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]?
    ===

    • nixCraft May 11, 2013, 8:34 am

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

      apt-get -f install

      HTH

  • vamsi May 13, 2013, 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?

  • deepak May 31, 2013, 12:34 pm

    very nice information thanks a lot………….

  • soyo June 5, 2013, 6:40 am

    thanks! but it seems it is not working

  • Jan June 13, 2013, 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

  • martin July 2, 2013, 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!!

  • MarcP July 21, 2013, 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!

  • gigglefight July 22, 2013, 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.

  • Ghetto July 23, 2013, 11:55 pm

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

  • Rodolfo July 25, 2013, 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

  • connor August 12, 2013, 2:04 pm

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

    • xi'an October 23, 2013, 6:47 am

      Thank you, this is indeed the correct command!

  • Cosmo August 24, 2013, 11:51 pm

    Doesnt work at all, You’re an ass.

  • john August 28, 2013, 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.

    • nixCraft August 28, 2013, 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

  • Sheldon Livingston October 10, 2013, 5:29 pm

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

  • Nimrod October 12, 2013, 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!

  • apb1963 October 19, 2013, 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]?
    
  • eMarcel October 28, 2013, 1:12 pm

    Accurate guide, I found it useful, Thanks!

  • mail October 29, 2013, 3:51 am

    Thank a lot. It’s useful guide.

  • Aseire November 12, 2013, 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:

  • kramer November 24, 2013, 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?

  • nordan January 21, 2014, 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.

  • RH User January 25, 2014, 7:13 am

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

  • dareknightbal January 26, 2014, 4:50 am

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

  • Sanket January 28, 2014, 6:34 pm

    Thanks for the steps! That worked for me :)

  • Vashu February 1, 2014, 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.

  • Tony February 6, 2014, 10:05 pm

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

    • Tony February 6, 2014, 10:06 pm

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

  • Jane February 9, 2014, 2:52 am

    hello i would like to download this

  • Zeo February 10, 2014, 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

  • Zeo February 10, 2014, 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

  • Javi March 14, 2014, 3:14 pm

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

  • Flo March 27, 2014, 4:10 pm

    Perfect! Thank you!

  • Ajinkya April 3, 2014, 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.

    • Frank April 20, 2014, 2:55 am

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

  • auchomage April 20, 2014, 5:51 pm

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

  • Kurt May 18, 2014, 10:45 am

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

  • Steven June 10, 2014, 4:44 am

    How can I uninstall this? PLease answer soon.

    • sanjeev sharma June 19, 2014, 10:42 am

      thanx my dear——

  • jade July 19, 2014, 8:27 am

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

  • Ann July 30, 2014, 5:30 pm

    Thank u so much.It was really helpful.

  • me August 25, 2014, 3:16 am

    This article Was very Helpfull
    Thanks^_^,
    Now I can use google-chrome in my Ubuntu^_^

  • yash September 16, 2014, 3:14 pm

    $ sudo dpkg -i google-chrome-stable_current_amd64.deb
    dpkg: error processing archive google-chrome-stable_current_amd64.deb (–install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:

  • Gabriel Fernández October 10, 2014, 3:45 pm

    Thank you very much for the explanation. I’m a newbie in Linux and your page helped me. Regards.

  • Maroman December 26, 2014, 11:30 am

    it’s easier to install chrome with gdebi instead just dpkg; gdebi finds all dependencies and no strange tricks are needed. additionally for privacy reasons it’s good to change search engine to prevent sending info to google. ixquick/startpage works fine.

  • khan February 14, 2015, 6:08 am

    Hi experts,
    I have tried installing chrome 64 bit for ubantu in GUI its not showing any action and also tried in terminal what to do to get fixed.

    Regards
    Khan.

  • Adron April 2, 2015, 10:14 pm

    Thank a lot for this information! :)

Leave a Comment