1. Download Sublime3
Http://www.sublimetext.com/3
2. Unzip, which is the installation.
# cd / opt
# tar xjf /home/alex/Downloads/sublime_text_3_build_3114_x32.tar.bz2
# mv / opt / sublime_text_3 / opt / sublime_text_3_32
# cd / opt / sublime_text_3_32
# ./sublime_text
The strange thing is not normal.
3. Change to desktop configuration startup
# cp -p /opt/sublime_text_3/sublime_text.desktop / usr / share / applications
Change the configuration file, mainly to modify the file directory
[Desktop Entry]
Version = 1.0
Type = Application
Name = Sublime Text
GenericName = Text Editor
Comment = Sophisticated text editor for code, markup and prose
Exec = / opt / sublime_text_3_32 / sublime_text% F
Terminal = false
MimeType = text / plain;
Icon = / opt / sublime_text_3_32 / Icon / 48x48 / sublime-txt.png
Categories = TextEditor; Development;
StartupNotify = true
Actions = Window; Document;
[Desktop Action Window]
Name = New Window
Exec = / opt / sublime_text_3_32 / sublime_text -n
OnlyShowIn = Unity;
[Desktop Action Document]
Name = New File
Exec = / opt / sublime_text / sublime_text_3_32 --command new_file
OnlyShowIn = Unity;
4. Open the software.
Applications> Programming> Sublime Text "Right click" to add this launcher to the desktop ".
Centos install Sublime text 3