12 December 2013

This tutorial shows you how to install Sublime on Debian. With small tweaking you can use this to install it on any Debian based operating system.

Download Sublime Text 2 from http://www.sublimetext.com/2.
Source code viewer
  1. # If you aren't root:
  2. su -
  3.  
  4. cd /home/USERNAME/Downloads/
  5. tar -xvjf Sublime\ Text\ 2*.tar.bz2
  6. mv Sublime\ Text\ 2/ /opt/sublime-text-2/
  7. ln -s /opt/sublime-text-2 /usr/local/sublime-text-2
  8. ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text
  9. rm Sublime\ Text\ 2*.tar.bz2
Programming Language: Bash
Sublime Text 2 can now be run as normal user with command "sublime_text". You might want to create menu item so that the application would appear under applications sections, for easy access.
  1. Go to application called "Main Menu".
  2. Select desired location like "Programming".
  3. Click "New Item"
    • Type: Application
    • Name: Sublime Text 2
    • Command: sublime_text
    • Icon: /opt/sublime-text-2/Icon/48x48/sublime_text.png