120

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
  • 1,303

5 Answers5

215

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:
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
Priyank
  • 2,280
55

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
  • 17,371
41

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,631
13
  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
  • 264
4

On the Ubuntu 24.04.1 LTS Chrome was updated using below steps

  1. Edit /etc/apt/sources.list.d/google-chrome.sources

    sudo gvim /etc/apt/sources.list.d/google-chrome.sources

    Change Enabled: No to Yes

  2. Edit gvim /etc/apt/sources.list.d/google-chrome.list.distUpgrade

    sudo gvim /etc/apt/sources.list.d/google-chrome.list.distUpgrade

    and uncomment the line
    deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main # disabled on upgrade to noble

  3. sudo apt update

  4. sudo apt --only-upgrade install google-chrome-stable

ss22
  • 51