Install Google Chrome Repo on Ubuntu 24.04 LTS and newer
- Download the
debfile (probablygoogle-chrome-stable_current_amd64.deb) from https://www.google.com/chrome/ - Install it:
sudo apt install ~/Downloads/google-chrome-stable*.deb -
Installing Google Chrome via
debpackage as above automatically adds the Google Chrome repository using the deprecatedapt-keymethod.In line with newer Debian policy, a repository's signing key should be saved to
/etc/apt/keyrings/usinggpg.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 - Remove the auto-added config file:
sudo rm /etc/apt/sources.list.d/google-chrome.list - A new config file that follows the Deb822 file format for official Ubuntu repositories and PPAs needs to be created:
- Paste the following lines in the file above:
- Refresh the package cache:
- Install the upgraded version of Google Chrome:
sudo nano /etc/apt/sources.list.d/google-chrome.sources
Types: deb URIs: https://dl.google.com/linux/chrome/deb/ Suites: stable Components: main Architectures: amd64 Signed-By: /etc/apt/keyrings/google-chrome.gpg
sudo apt update
sudo apt install google-chrome-stable
NULL