Skip to content

Instantly share code, notes, and snippets.

@otzoran
Created August 31, 2014 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otzoran/96eb0941febf9a67fa24 to your computer and use it in GitHub Desktop.
Save otzoran/96eb0941febf9a67fa24 to your computer and use it in GitHub Desktop.
Chrome Installation on Ubu - script steps - tested on 14.04
#!/bin/bash
set -ex
[[ $(id -u) == 0 ]] || { echo "Buddy needs to be root to run this"; exit 1; }
[[ $PWD == "/root" ]] || { echo "Run this from /root"; exit 1; }
# 1. Download key
wget -q -O google_signing_key.pub https://dl-ssl.google.com/linux/linux_signing_key.pub
apt-key add google_signing_key.pub
# 2. Add google chrome to sources.list
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
# 3. Update list
apt-get update
# 4. install google chrome
apt-get install google-chrome-stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment