终端命令行安装:
Install the GPG key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
Select the channel to use:
- Stable
-
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
- Dev
-
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
激活注册码:
help ===》enter lisence ,复制如下激活码:
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
5F7EF854 86B9743C FADC04AA FB0DA5C0
F913BE58 42FEA319 F954EFDD AE881E0B
汉化:
安装 package control
第一步:按 Ctrl + ~
键,调出 sublime 的控制台;
第二步:在调出的控制台输入如下指令
import urllib.request,os;pf='Package Control.sublime-package';
ipp=sublime.installed_packages_path();
urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));
open(os.path.join(ipp,pf),'wb').write(urllib.request.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
回车,稍等片刻,如果在 preferences 里有 package control 就说明安装成功了;
第三步:点击 preferences —> package control
调出 package control,输入install package
选择并回车,
查找ChineseLocalization插件,选择回车安装成功后会自动切换成中文简体,若要修改回英文,不用卸载该插件,帮助 —>Language
中设置其他语言。
参考链接:https://www.cnblogs.com/chaonuanxi/p/9371837.html