1、安装GPG key
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
2、安装yum-utils
yum -y install yum-utils
3、添加稳定版本仓库地址
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
4、更新yum,安装sublime-text
sudo yum install sublime-text
5、使用sublime-text
在终端输入:
subl