Sublime 2 is IMO the best text editor I have ever use. Currently there is no repo support for most distributions of linux and the few unofficial repos there are, are not maintained very well.
This guide will help you install Sublime 2 Manual on most Distro’s, but for my purposes I am using Fedora 17 with Gnome3. If your using a different Distro the steps will be the same, but you may have to adjust the filesystem locations.
Step 1: Download the tar file
Step 2: Pick a location in your file system for the application, I have a special directory for non-repo installs I use /home/program. my /home is on a separate drive from the rest of the file system
Step 3: extract the sublime tar file to this location
Step 4: (optional) rename the “Sublime Text 2″ folder to “sublime”
Step 5: run command
$ sudo gedit /usr/share/applications/sublime.desktop
Step 6: Paste the following in to the new Gedit Windows
[Desktop Entry] Name=Sublime Text 2 GenericName=Text Editor Comment=Edit text files Exec=/home/programs/sublime/sublime_text %U Terminal=false Type=Application StartupNotify=true MimeType=text/plain; Icon=accessories-text-editor Categories=GNOME;GTK;Utility;TextEditor; X-GNOME-FullName=Sublime 2 Text Editor Actions=Window;Document; Icon=/home/programs/sublime/Icon/128x128/sublime_text.png
Step 7: Save and Close
That should be it, Sublime should now be in your Applications Menu, and you should be up and running
