Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do you install Google Chrome on Ubuntu 14.04?

share|improve this question
    
Refer How to install Google Chrome on ubuntu?. –  Aniket Thakur Nov 23 '14 at 9:31

8 Answers 8

Go to https://www.google.com/intl/en-US/chrome/browser/

enter image description here

Click Download and a small window will pop up with some download options.

enter image description here

The top two options are the ones we want the ".deb" check the box next to the correct format for your system 32-bit or 64-bit.

Once the Download completes you will have a file like this in your downloads folder. Once its complete lets double click it.

enter image description here

Give your PC a few moments and the ubuntu software center should open up with the .deb file you have downloaded ready to install. (I already have chrome installed) Click the install button and you will be prompted for your password to start the installation. This should take no more that 2mins to install.

Enjoy ;]

Note: Chrome will also be updated through the normal Ubuntu update process so you can expect to grab the latest version when Ubuntu updates.

enter image description here

share|improve this answer
3  
Excellent post Klyn. Worthy of lots of upvotes. –  Rinzwind Aug 13 '14 at 14:28
    
Screen shots FTW! –  Klyn Aug 13 '14 at 15:21
1  
this is weird ... I though that to get updates you'd need to add a repository ... –  josinalvo Oct 18 '14 at 0:00
4  
its adds the Google Chrome PPA when you install the package so from then on you get updates as they are released. –  Klyn Oct 18 '14 at 4:09

google-chrome-stable is availeble on 3rd Party Repository: Google Chrome (For Stable).

Follow the instruction for installation:

  1. Add Key:

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
    
  2. Set repository:

    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
    
  3. Install package:

    sudo apt-get update 
    sudo apt-get install google-chrome-stable
    
share|improve this answer
    
It appears that the package from Google adds the Apt source file now, but named "google-chrome.list". Attempting to do an apt-get update will complain about duplicates. If you rename to match, the issue doesn't occur. –  William Holroyd Nov 11 '14 at 19:22

Or if you want the actual Google Chrome, open a terminal and follow:

cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo dpkg -i google-chrome-stable_current_i386.deb

If you want the 64bit version just replace i386 with amd64

If you encounter any errors simply use

sudo apt-get -f install

To run it from terminal use google-chrome or hit the super key and search Google or Chrome

share|improve this answer
2  
This worked better for me than the accepted answer. Thank you very much. –  Alex K Feb 9 at 1:23

Google Chrome is different from Chromium.

What's the difference between Google Chrome and/or Chromium? What are the advantages/disadvantages to each?

Chromium can be found in the Ubuntu Software Centre. To download Google Chrome however:

  1. Goto: https://www.google.com/intl/en-CA/chrome/browser/

  2. Click Download Chrome

  3. Choose either 32 bit .deb(for 32bit Ubuntu) or 64 bit .deb (for 64bit Ubuntu)

  4. Click Accept and Install

  5. Download .deb file to a folder (Downloads is the default folder)

  6. Open up your Downloads folder.

  7. Double-click the .deb file you just downloaded.

  8. This should launch Ubuntu Software Centre.

  9. When it prompts you to whether you wish to install Chrome, just say yes.

  10. Input Password when asked to install.
share|improve this answer

Hello people of the Ubuntu Universe, I wrote a c++ program for installing google chrome 64 bit, Pandya's answer is very similiar. I usually write programs to handle anything, that I think I might have to do again in the future! Consequently installing google-chrome is something I've done many times.

If you do not already have build-essential installed as dependency, or c++ (g++) development you must install it first:

:~$ sudo apt-get install build-essential -y

Next copy the following program from this post into gedit and save it as googGt.cpp (change your tab width to 4):

//************************************************************************
// This googGt.cpp is created to install the google-chrome web browser
// on Ubuntu 14.04 lts 64 bit.
// author@GWade
//************************************************************************

#include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <locale>

using namespace std;

void PrntGoogPpa(ofstream& googPpa);

void PrntGoogGtr(ofstream& googGtr);

void PrntGoogLst(ofstream& gogLst);

int main()
{

    cout << "Creating the script that adds google-chrome PPA\n" <<endl;

    // create the googPpa.sh shell script
    ofstream googPpa;

    googPpa.open("googPpa.sh");

    PrntGoogPpa(googPpa);

    googPpa.close();

    cout << "Changing the mode of access to executable on the script\n" << endl;
    // change mode of access to executable
    system("chmod +x googPpa.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;
    system("./googPpa.sh");

    // create an ofstream object and call the function
    cout << "Creating the script that installs google-chrome\n" << endl;
    ofstream googGtr;
    googGtr.open("googGt.sh");
    PrntGoogGtr(googGtr);
    googGtr.close();

    cout << "The googGt.sh script has been created\n" << endl;
    cout << "Changing the mode of access to executable on the script\n" << endl;
    system("chmod +x googGt.sh");
    cout << "Excuting and installing the Google-Chrome Web Browser\n" << endl;
    system("./googGt.sh");

    system("rm -rf /etc/apt/sources.list.d/google-chrome.list");

    ofstream googLst;
    googLst.open("/etc/apt/sources.list.d/google-chrome.list");
    PrntGoogLst(googLst);
    googLst.close();


}
void PrntGoogPpa(ofstream& googPpa)
{

    googPpa << "#! /bin/bash\n\nUPD=\"updatedb\"\n" << endl;

    googPpa << "wget -q -O - "
            << "https://dl-ssl.google.com/linux/linux_signing_key.pub"
            << " | sudo apt-key add -" << "\n" << endl;

    googPpa << "echo \"deb http://dl.google.com/linux/chrome/deb/ stable main\""
            << " >> /etc/apt/sources.list.d/google.list\n\n$UPD\n\nexit" << endl; 

}
void PrntGoogGtr(ofstream& googGtr)
{
    googGtr << "#! /bin/bash\n\nAPGTN=\"apt-get install\"" << endl;

    googGtr << "APUPD=\"apt-get update\"\nUPD=\"updatedb\"\n" << endl;

    googGtr << "$APUPD\n\n$APGTN google-chrome-stable -y\n" << endl;

    googGtr << "$UPD\n\nexit" << endl;

}
void PrntGoogLst(ofstream& googLst)
{

    googLst << "### THIS FILE IS AUTOMATICALLY CONFIGURED ###" << endl;

    googLst << "# You may comment out this entry, but any other modifications"
            << " may be lost." <<endl;

    googLst << "# deb http://dl.google.com/linux/chrome/deb/ stable main" <<endl;

}

Its nothing spectacular just some function abstraction. Its pretty easy to follow. Once you've copied and saved the program compile from command line:

:~$ g++ googGt.cpp

This create an a.out in the working directory. Next gain root privledges and execute the program.

Gaining root privledges:

:~$ sudo bash

Executing the newly created binary:

:~# ./a.out

The process is pretty straight forward first add the google PPA, then it updates the software sources, then it installs google-chrome, and last but not least it comments out the google-chrome.list url addresses so it doesn't update the 32 bit version as well as 64 bit on subsequent apt-get updates. You will now have the scripts 1) the script that adds the googPpa.sh and 2) the script that installs google-chrome (googGt.sh).

GO UBUNTU!!

share|improve this answer
1  
Far too technical for the "Everyday Joe"/"Everyday Sally"... The "usual" method - as described below (with pictures) - is the easier way to install Google Chrome. –  Gregory Opera Apr 6 at 5:08
    
May I ask why don't wrote a shell script? Using c++ for that looks weird since are only executing shell commands. –  hek2mgl May 6 at 11:56

Thats a good question hek2mgl, and my answer is: security and control when using wget and adding the ppa. Using wget and adding ppa's in scripts leaves your system vulnerable for split second. You will notice this by the pause after the output of 'OK' once the ppa is added, if you are to do so.

I designed and wrote the c++ program (over writing one shell script, which have done also) in order to take advantage of shell-level depth, control of execution, and the kill process: during and after the ppa add scripts execution.

But yes, hek2mgl it does look weird at first. I have written quite a few system admin programs in c++ and have gotten use to it.

share|improve this answer

For the 32-bit version of Google Chrome, use this command below.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

For the 64-bit version of Google Chrome, use this command below.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Once downloaded, install google chrome with following command:

32 bit :

sudo dpkg -i google-chrome-stable_current_i386.deb

64 bit :

sudo dpkg -i google-chrome-stable_current_amd64.deb

If you want other method visit this..

share|improve this answer

You can try saving the below script into a file and running it:

if [[ $(getconf LONG_BIT) = "64" ]]
then
    echo "64bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
    sudo dpkg -i google-chrome-stable_current_amd64.deb &&
    rm -f google-chrome-stable_current_amd64.deb
else
    echo "32bit Detected" &&
    echo "Installing Google Chrome" &&
    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb &&
    sudo dpkg -i google-chrome-stable_current_i386.deb &&
    rm -f google-chrome-stable_current_i386.deb
fi

It will automatically detect your architecture and install the proper version of Google Chrome for your system.

Script source here

share|improve this answer
    
Again, this is unnecessarily complicated for the everyday user to install Google Chrome with... It's just making things harder than they need to be. –  Gregory Opera Apr 6 at 5:10

protected by Community Dec 8 '14 at 16:34

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.