Install Google Chrome Repo on Ubuntu 24.04 LTS and newer

  1. Download the deb file (probably google-chrome-stable_current_amd64.deb) from https://www.google.com/chrome/
  2. Install it:
    sudo apt install ~/Downloads/google-chrome-stable*.deb
  3. Installing Google Chrome via deb package as above automatically adds the Google Chrome repository using the deprecated apt-key method.

    In line with newer Debian policy, a repository's signing key should be saved to /etc/apt/keyrings/ using gpg.

    Create the /etc/apt/keyrings/ folder if it doesn't already exist:

    sudo mkdir -p /etc/apt/keyrings/

    If the GPG key is already in /etc/apt/trusted.gpg.d, move it to the keyrings folder:

    sudo mv /etc/apt/trusted.gpg.d/google-chrome.gpg /etc/apt/keyrings/

    If the GPG key is NOT already in /etc/apt/trusted.gpg.d, download it to the keyrings folder:

    get -qO - https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/google-chrome.gpg
  4. Remove the auto-added config file:
    sudo rm /etc/apt/sources.list.d/google-chrome.list
  5. A new config file that follows the Deb822 file format for official Ubuntu repositories and PPAs needs to be created:
  6. sudo nano /etc/apt/sources.list.d/google-chrome.sources
  7. Paste the following lines in the file above:
  8. Types: deb
    URIs: https://dl.google.com/linux/chrome/deb/
    Suites: stable
    Components: main
    Architectures: amd64
    Signed-By: /etc/apt/keyrings/google-chrome.gpg
  9. Refresh the package cache:
  10. sudo apt update
  11. Install the upgraded version of Google Chrome:
  12. sudo apt install google-chrome-stable
NULL