Created
August 31, 2014 12:41
-
-
Save otzoran/96eb0941febf9a67fa24 to your computer and use it in GitHub Desktop.
Chrome Installation on Ubu - script steps - tested on 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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