Skip to content

Instantly share code, notes, and snippets.

@khiemdoan
Created January 4, 2018 09:39
Show Gist options
  • Save khiemdoan/0652477c680bd144b991822c9e4dbe80 to your computer and use it in GitHub Desktop.
Save khiemdoan/0652477c680bd144b991822c9e4dbe80 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Auto install Google Chrome
# Khiem Doan <doankhiem.crazy@gmail.com>
# use for Ubuntu
sudo rm -f /etc/apt/sources.list.d/google-chrome.list
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb [arch=amd64] 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 -y google-chrome-stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment