Download HTTP://WWW.SUBLIMETEXT.COM/2 Select the appropriate package to download back the format is. tar.bz2 format, need to be decompressed.
1, Decompression: TAR-XVF sublime\ text\ 2.0.2.tar.bz2
2, CD to the path where you downloaded the file
3,MV sublime\ text\ 2/usr/local/lib/This step is primarily designed to execute at any location in terminal./sublime_text file, save the extracted directory to the environment variable $path directory
4,ln-s/usr/local/lib/sublime\ text\ 2/sublime_text/usr/bin/subl
5. Configure Desktop Icon Shortcuts:
(1). Enter in Terminal: cd/usr/share/applications/
(2). Add a file to this file directory: Touch sublime.desktop
(3). Add the following content to the file created above:
[Desktop Entry] Name=sublimetext 2genericname=text editorexec=sublterminal=falseicon=/usr/local/lib/sublime Text 2/Icon/48x48/ sublime_text.pngtype=applicationcategories=texteditor;ide;developmentx-ayatana-desktop-shortcuts=newwindow[ NewWindow Shortcut group]name=new windowexec=subl-ntargetenvironment=unity
Sublime the Text icon.
Ubuntu Sublime Text 2 Editor installation