一、安装
1.指令安装
- $ sudo add-apt-repository ppa:webupd8team/sublime-text-2
- $ sudo apt-get update
- $ sudo apt-get install sublime-text-2
2.直接下载安装
从下载所需要的版本。
解压文件到安装目录
- $ sudo tar -jxvf Sublime\ Text\ 2.0.1.tar.bz2 -C /usr/local/
二、在applications菜单中创建快捷方式
# sudo gedit /usr/share/applications/sublimetext.desktop
- [Desktop Entry]
- Encoding=UTF-8
- Name=Sublime Text
- Comment=Sublime Text
- Exec=/usr/local/SublimeText/sublime_text
- Icon=/usr/local/SublimeText/Icon/48x48/sublime_text.png
- Terminal=false
- StartupNotify=true
- Type=Application
- Categories=Application;Development;
阅读(750) | 评论(0) | 转发(0) |