yum安装
1、导入公共密钥Install the GPG key:
sudo rpm -v –import https://download.sublimetext.com/sublimehq-rpm-pub.gpg

2、添加Stable稳定版的源:
sudo yum-config-manager –add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo

3、安装Sublime Text:
sudo yum install sublime-text

—————–
apt安装
1、导入公共密钥Install the GPG key:
wget -qO – https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add –

2、用https协议连接源Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https

3、添加Stable稳定版的源:
echo “deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

4、更新源,安装Sublime Text
sudo apt-get update
sudo apt-get install sublime-text

=========================
汉化方法:
1、安装Package Control.sublime-package
菜单栏“View > Show Console”调出控制台,快捷键是“ctrl+`”复制如下代码粘贴进去执行。
import urllib.request,os,hashlib; h = ‘6f4c264a24d933ce70df5dedcf1dcaee’ + ‘ebe013ee18cced0ef93d5f746d80ef60’; 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)

2、安装汉化包
菜单栏“Preference -> Languages”,或者快捷键“Ctrl+Shift+P”调出命令行窗口输入lmzhcn回车键安装。

PS:
https://www.sublimetext.com/docs/3/linux_repositories.html
https://packagecontrol.io/installation
https://packagecontrol.io/packages/LocalizedMenu