Ubuntu Linux: Install Google Chrome Browser Command

Posted on in Categories , last updated October 23, 2013

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.

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

74 comment

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

    1. 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

  2. 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
    1. 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.

    2. 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.

    3. 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

    4. 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..

  3. 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]?
    ===

  4. ubuntu 12.04LTS
    [email protected]:/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.
    [email protected]:/tmp# google-chrome
    google-chrome: command not found
    what is the error?

  5. 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

  6. 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!!

  7. 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!

  8. found typo
    on Step #2: Install .deb file

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

    great post! thank you.

  9. 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

  10. [email protected]:/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
    [email protected]:/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.
    [email protected]:/home/john#

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

  11. 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!

  12. 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]?
    
  13. 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:

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

    [email protected]:/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?

  15. 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.

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

  17. 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

  18. 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

  19. 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.

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

  21. $ 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:

  22. 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.

  23. 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.

  24. /tmp$ sudo 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, 184 MB disk space will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database … 175377 files and directories currently installed.)
    **Removing google-chrome-stable (48.0.2564.109-1) …**
    Processing triggers for man-db (2.7.4-1) …
    Processing triggers for gnome-menus (3.13.3-6ubuntu1) …
    Processing triggers for desktop-file-utils (0.22-1ubuntu3) …
    Processing triggers for bamfdaemon (0.5.2~bzr0+15.10.20150627.1-0ubuntu1) …
    Rebuilding /usr/share/applications/bamf-2.index…
    Processing triggers for mime-support (3.58ubuntu1) …

  25. I have to say, i love it when the tutorial is so accurate that it includes “here are the problems you’re going to run into, fix them with this” :D
    (thanks for the apt-get -f install)

Leave a Comment