Skip to content

Instantly share code, notes, and snippets.

@duypm
Forked from emilong/get-latest-chrome.sh
Created October 13, 2017 14:09
Show Gist options
  • Save duypm/fd64becea919f57f10d55f3e791d9f81 to your computer and use it in GitHub Desktop.
Save duypm/fd64becea919f57f10d55f3e791d9f81 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -ex
google-chrome --version
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable
google-chrome --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment