CentOS install Sublime Text 2.0.2
32位
# cd ~
# wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2.tar.bz2
# tar vxjf Sublime\ Text\ 2.0.2.tar.bz2
64位
# cd ~
# wget http://c758482.r82.cf2.rackcdn.com/Sublime\ Text\ 2.0.2\ x64.tar.bz2
# tar vxjf Sublime\ Text\ 2.0.2\ x64.tar.bz2
Once unpacked, you will get a directory called “Sublime Text 2″, inside this directory you will see a list files that required by Sublime Text to run. For security reason, we move this folder under “/opt” location.
# sudo mv Sublime\ Text\ 2 /opt/
Next create a symbolic link to call “Sublime Text” from the command line as “sublime”. To do, create a symbolic link under “/usr/bin” as shown below.
# sudo ln -s /opt/Sublime\ Text\ 2/sublime_text /usr/bin/sublime
sublime 安装Package Ctrl
1、打开sublime
2、Ctrl + ~
3、(sublime Text3)输入
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
网址:https://packagecontrol.io/installation
Package Ctrl 安装成功!
4、Ctrl + Shift + p 或者 点击菜单Preference-->Package Control
5、选择所需插件安装即可
具体图文请查看:安装Emmet
网址:http://www.cnblogs.com/tinyphp/p/3217457.html