87

What is the right way to update chrome on Ubuntu 20.04. My installation was with .deb file

I started getting update chrome warning messages on my chrome now. I do not want to uninstall and then reinstall to save my bookmarks and saved credentials.

is Google Sync a safe option for this?

Ajeetkumar
  • 973
  • 1
  • 5
  • 5
  • 1
    Chrome should get updates automatically when you update your system. It seems that you disabled that. – Pilot6 Sep 18 '20 at 06:26
  • Google sync is good for bookmarks and extensions. If by credentials you mean passwords, I myself would not use any browser password keeper, but do use a separate password manager. – crip659 Sep 20 '20 at 11:18

4 Answers4

155

These are a couple of ways to update Google Chrome on Ubuntu 20.04 when the installation is done through the .deb file:

  1. Open Software Updater. Select and install the available Google Chrome update.
  2. Through Terminal. Type sudo apt-get update and then sudo apt-get --only-upgrade install google-chrome-stable.
Priyank
  • 1,690
  • 1
  • 6
  • 6
41

Hope this helps:

Add Key:

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

Set repository:

echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list

Install package:

sudo apt update 
sudo apt install google-chrome-stable
Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
schizoid_man
  • 511
  • 3
  • 4
30

context: you've already installed Chrome and can't seem to update it - where the command line tells you that you already have the latest, Chrome keeps complaining you need to update - and when you relaunch Chrome it fails to update.

Try the following...

Check /etc/apt/sources.list.d/google-chrome.list

If it looks like this:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

uncomment the last line, so that it looks like this:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Then do:

sudo apt update

And then:

sudo apt-get --only-upgrade install google-chrome-stable
user12345
  • 4,371
  • 1
  • 19
  • 9
  • 3
    Thank you! Can confirm this is the answer that worked. After uncommenting that line I was able to `sudo apt-get update` and `sudo apt-get install google-chrome-stable` and it actually worked. – Digs Apr 24 '22 at 07:44
  • 1
    Thank you, worked for me as well – cjohansson May 10 '22 at 06:17
  • 2
    Clear and straightforward, this should be the accepted answer !!! – HanniBaL90 Sep 22 '22 at 09:09
  • This worked indeed. The entry contained a comment in my case that the repository was disabled during the upgrade from my previous version to 22.04. Enabling it again allowed updates as part of the regular update and upgrade procedure (the second step of (re-)installing `google-chrome-stable` was not needed). – Marijn Dec 11 '22 at 16:27
4
  1. Download .deb (for example) from: https://www.google.com/chrome/
  2. In your download directory, you need to find: google-chrome-stable_current_amd64.deb
  3. Run: sudo dpkg -i google-chrome-stable_current_amd64.deb.

It works for me.

doox911
  • 174
  • 1
  • 9