Skip to content

Instantly share code, notes, and snippets.

@liconti
Created December 21, 2012 08:40
Show Gist options
  • Save liconti/4351494 to your computer and use it in GitHub Desktop.
Save liconti/4351494 to your computer and use it in GitHub Desktop.
Sublime text 2 python setup on Ubuntu linux 12.04

install Sublime text 2 via PPA or manually

install pythonbrew from https://github.com/utahta/pythonbrew (as root if you wish)

curl -kL http://xrl.us/pythonbrewinstall | bash

install python 2.6.6 enabling 4 bytes unicode

pythonbrew install -C --enable-unicode=ucs4 2.6.6

symlink the new python lib directory to sublime-text-2 lib (adjust paths on your installs)

ln -s /usr/local/pythonbrew/pythons/Python-2.6.6/lib/python2.6 /usr/lib/sublime-text-2/lib/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment