Skip to content

Instantly share code, notes, and snippets.

@Garbee
Last active May 27, 2016 11:29
Show Gist options
  • Save Garbee/e0bc8f97fd07f634d134 to your computer and use it in GitHub Desktop.
Save Garbee/e0bc8f97fd07f634d134 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Change program folder to where you want it stored
PROGFOLDER=$HOME/programs
cd /tmp
# getting 64 bit version since that is what I use. Check appspot to get the link for your system/bit length.
wget -q https://download-chromium.appspot.com/dl/Linux_x64 -O chromium.zip
# Clear out old install
rm -rf $PROGFOLDER/chrome-linux
unzip -q chromium.zip -d $PROGFOLDER
if [ -e "$PROGFOLDER/chrome-linux/chrome_sandbox" ]
then
mv "$PROGFOLDER/chrome-linux/chrome_sandbox" "$PROGFOLDER/chrome-linux/chrome-sandbox"
fi
rm chromium.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment