Sublime Text is a nice simple code editor. I was looking for a good way to install it on Ubuntu 11.10 and came across the answer at commandlinefu.com:
1. Add the necessary repository
2. Refresh repositories
3. Install
done.
1. Add the necessary repository
add-apt-repository ppa:webupd8team/sublime-text-2
2. Refresh repositories
apt-get update
3. Install
apt-get install sublime-text-2
done.