89

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?

2
  • 1
    Chrome should get updates automatically when you update your system. It seems that you disabled that.
    – Pilot6
    Sep 18, 2020 at 6: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, 2020 at 11:18

4 Answers 4

157

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.
5
  • 4
    In my first try, the 2nd command failed as I haven't noticed that the command wraps on the next line.
    – thanos.a
    Sep 14, 2021 at 17:43
  • 1
    Do not forget to close / reopen Chrome after the update has installed
    – Julien
    Oct 1, 2021 at 9:22
  • 17
    google-chrome-stable is already the newest version (91.0.4472.77-1) -- but still chrome issues warning that Upgrade needed.
    – sureshvv
    Oct 10, 2021 at 5:36
  • This answer did not work for me like the other reply above that has 8 up votes. The next solution below with not nearly as many upvotes solved it
    – zawy
    Oct 2, 2022 at 20:27
  • Worked for me, on Ubuntu 18.04. Oct 22, 2022 at 18:39
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
4
  • 4
    In ubuntu 20 you can write just apt instead of apt-get Jan 4, 2021 at 8:44
  • 1
    This solution worked where the solution with a lot more upvotes did not.
    – zawy
    Oct 2, 2022 at 20:28
  • This solve the problem on Ubuntu 20.04.1
    – tcrepalde
    Jan 26 at 13:33
  • This is the correct answer
    – Emad Helmi
    Jun 19 at 10:58
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
4
  • 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, 2022 at 7:44
  • 1
    Thank you, worked for me as well
    – cjohansson
    May 10, 2022 at 6:17
  • 2
    Clear and straightforward, this should be the accepted answer !!!
    – HanniBaL90
    Sep 22, 2022 at 9: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, 2022 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.

1
  • 1
    Thanks, this is perfect and works well for me" Dec 29, 2022 at 16:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .