How to update chrome in Ubuntu 20.04

This post shows you how to update/upgrade google chrome in Ubuntu 20.04 through command line.

Suppose you already added google chrome repository into your system.

sudo apt update
sudo apt --only-upgrade install google-chrome-stable
  • --only-upgrade : means only install upgrades for already installed package

How to install chrome in Ubuntu 20.04

  • Install google repository GPG key using below cmd:

    wget -q -O - | sudo apt-key add -
  • Add apt repository

    sudo sudo sh -c 'echo "deb [arch=amd64] stable main" >> /etc/apt/sources.list.d/google-chrome.list'
  • Download package information

    sudo apt update
  • Install google-chrome-stable

    sudo apt install google-chrome-stable