1. Download the installation package on the website
Website address: HTTP://WWW.SUBLIMETEXT.COM/2
2. Unzip the placement
Unzip to the/usr/lib/directory:
TAR-XVF sublime\ text\ 2.0.1.tar.bz2
MV Sublime\ text\ 2/usr/lib/
where \ is the escape character
Since the $PATH environment variable automatically covers the/usr/lib directory, it is not necessary to modify the environment variables.
Create a link in the/usr/bin/directory named Sublime, which allows you to launch the editor from the command line:
Ln-s/usr/lib/sublime\ text\ 2/sublime_text/usr/bin/sublime
3. Side Bar Setting
Add the Sublime.desktop configuration file and put it in the/usr/share/appliations/path under the file contents as follows:
[Desktop Entry]
Type = Application
Version = 1.0
#The name displayed under the corresponding icon
Name = Sublime Text 2
# Corresponding execution command
Exec = / usr / bin / sublime
#Corresponding application icon
Icon = / usr / lib / Sublime Text 2 / Icon / 48x48 / sublime_text.png
After saving, give the executable property.
Ubuntu 14.04 Installation Sublime Text 2