How to update Google chrome in Ubuntu?

375,788

Solution 1

First download and install the key from Google Linux Repository. Or run the following commands in the terminal, type the password for the user when prompted.

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

To install:

sudo apt-get install google-chrome-beta

To update only:

sudo apt-get --only-upgrade install google-chrome-stable

Then update (if available) the Network Security Service libraries (libnss), or Chrome will behave weird

sudo apt-get install libnss3-1d

In Ubuntu 18.04 or later libnss3-1d - Network Security Service libraries - transitional package is depreciated and incorporated in generic libnss3 library. (Thanks Bishoy Melek)

sudo apt-get install libnss3

Now you have to kill all instances (may be hidden) of old Google Chrome.

sudo pkill -15 google-chrome
sudo pkill -15 chrome

Then start google-chrome as you start it.

Solution 2

From the Chrome EULA page:

Note: Installing Google Chrome will add the Google repository so your system will automatically keep Google Chrome up to date. If you don't want Google's repository, do "sudo touch /etc/default/google-chrome" before installing the package.

[emphasis theirs]

So, as mgpyone indicated Ubuntu's update-manager should take care of that for you.

Here are the contents of my /etc/apt/sources.list.d/google-chrome.list

deb http://dl.google.com/linux/deb/ stable main

Solution 3

If it does not update properly, just download the last .deb file from: https://www.google.com/chrome/browser/desktop/

The deb file like google-chrome-stable_current_amd64.deb

Then you can:

sudo dpkg -i /path/to/google-chrome-stable_current_amd64.deb

Replace /path/to with your proper path.

It just worked for me on Ubuntu 14.04

Solution 4

From Google Chrome Help

Use your package manager to check for updates.

Privacy information

Google Chrome uses a process called Google Update to periodically check for updates. This process sends information, such as version number, language, operating system, and other installation or update-related details, back to Google servers. This information is not associated with you or your Google Account.

Solution 5

I had similar problem with broken package in Chrome 20.0.xxx. I could see two chrome packages in Synaptic package manager. I deleted the new version of chrome package then marked older version on chrome package for upgrade. Then upgrade all packages through, which took care of everything and my Chrome was upgraded to the latest version.

Share:
375,788

Related videos on Youtube

OscarRyz
Author by

OscarRyz

Software Developer who happens to like writing code. Here are some interesting answers you might like to upvote :") Why java people frequently consume exception silently ? Coding in Other (Spoken) Languages How to create an string from the contents of a file History of Objective-C square brackets (as I remember it) ( visible only to >10k users )

Updated on September 17, 2022

Comments

  • OscarRyz
    OscarRyz over 1 year

    How to update Google chrome in Ubuntu?

  • Fedir RYKHTIK
    Fedir RYKHTIK over 10 years
    Thanks. killall google-chrome works well also.
  • Augustin Riedinger
    Augustin Riedinger over 10 years
    Says google-chrome-stable is in the latest version available. But I'm on Chrome 30.0.1599.101 and apparently version 32 exists now. Is the debian package regularly updated as well?
  • ghosh'.
    ghosh'. over 10 years
    No, Debian packages are NOT regularly updated. And this depends on your Ubuntu version.
  • Ilia Barahovsky
    Ilia Barahovsky about 8 years
    There is a simpler way to restart Chrome. Just open this link - chrome://restart . Source - plus.google.com/+FrancoisBeaufort/posts/VVv36sA79Mu.
  • ghosh'.
    ghosh'. about 8 years
    @IliaBarahovski .. Yeah. You can. But I'll prefer the bash line approach, it's the unix way of life :)
  • Vadim
    Vadim almost 7 years
    worked for me Ubuntu 14.10 {[9303:9339:0915/095009.401468:FATAL:nss_util.cc(632)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer.}
  • Akash Bisariya
    Akash Bisariya over 6 years
    sudo pkill -15 google-chrome sudo pkill -15 chrome; Execute this command and then open chrome@AugustinRiedinger
  • Ashu
    Ashu over 4 years
    Not working in my case. I have ubuntu 18.04. And the version of google chrome is 70.0.3538.77-1. It's not getting upgraded following all these steps. Getting this E: Repository 'dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC' when i did "sudo apt-get update"
  • Ashu
    Ashu over 4 years
    This worked linuxize.com/post/…
  • jarno
    jarno over 4 years
    Why install google-chrome-beta instead of google-chrome-stable? libnss3` is installed as a dependency.
  • David Beauchemin
    David Beauchemin about 4 years
    Worked as a charm
  • sg28
    sg28 about 3 years
    simple and awesome.
  • Dimitri Kopriwa
    Dimitri Kopriwa about 3 years
    Is this outdated?
  • moodboom
    moodboom over 2 years
    @dimitri-kopriwa I just used the apt-key add... instructions to solve the problem of chrome not updating. All the other generic instructions I had gone through previously failed to get the job done. So I'd say that part is not outdated. But I didn't need anything else (eg libnss3).