Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kmvan/424fb6c5b6b3139affe7e633490ad07a to your computer and use it in GitHub Desktop.
Save kmvan/424fb6c5b6b3139affe7e633490ad07a to your computer and use it in GitHub Desktop.
Install Google Chrome in Ubuntu Linux with apt

Installing Google Chrome via APT

Note: This is an updated installation method for Google Chrome, as the previous apt-get approach has been deprecated. Note: sh file is attached.

1. Set Up the Google Signing Key and Repository

Add Google’s public signing key and set up the APT repository for Google Chrome:

curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list

sudo apt update
sudo apt install google-chrome-stable

Credit: This updated guide is based on an original gist by @twistedpair.

# Installing google chrome via APT (sadly no SNAP available from Google, like there is for Chromium)
# Setup the Google signer and repo
curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
# Install
sudo apt update
sudo apt install google-chrome-stable
# Credit: This updated guide is based on an original gist by @twistedpair.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment