Skip to content

Instantly share code, notes, and snippets.

@benkahle
Last active August 29, 2015 14:06
Show Gist options
  • Save benkahle/9ea81732b31f771b7388 to your computer and use it in GitHub Desktop.
Save benkahle/9ea81732b31f771b7388 to your computer and use it in GitHub Desktop.
Fresh Linux - Application Installs
sudo apt-get update &&
sudo apt-get upgrade &&
#sublime-text-3
sudo add-apt-repository ppa:webupd8team/sublime-text-3 &&
sudo apt-get update &&
sudo apt-get install sublime-text-installer &&
#chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - &&
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' &&
sudo apt-get update &&
sudo apt-get install google-chrome-stable &&
#python (?)
sudo apt-get install python &&
#pip
sudo apt-get install python-pip &&
#git
sudo apt-get install git
# MANUAL Install
# Sublime Text Package Manager
# Open Sublime, type 'ctrl+`' (tick, under ~) then copy the following line into the console, and hit enter. (source: https://sublime.wbond.net/installation)
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
@EvanDorsky
Copy link

Definitely include git and python (if 14.04 doesn't come with python).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment