CentOS 7.x 安装Sublime Text 3.0正式版
Sublime Text 3.0 正式版终于发布了!
废话不多说,直接敲命令安装!
1、安装 GPG 公钥
rpm -v –import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
[root@hadron ~]# rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
2、选择Stable版
yum-config-manager –add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
[root@hadron ~]# yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
已加载插件:fastestmirror, langpacks
adding repo from: https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
grabbing file https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo to /etc/yum.repos.d/sublime-text.repo
repo saved to /etc/yum.repos.d/sublime-text.repo
3、正式安装
yum install sublime-text
[root@hadron ~]# yum install sublime-text
已加载插件:fastestmirror, langpacks
正在解决依赖关系
--> 正在检查事务
---> 软件包 sublime-text.x86_64.0.3143-1 将被 安装
--> 解决依赖关系完成
依赖关系解决
=============================================================================================================================================================================
Package 架构 版本 源 大小
=============================================================================================================================================================================
正在安装:
sublime-text x86_64 3143-1 sublime-text 9.6 M
事务概要
=============================================================================================================================================================================
安装 1 软件包
总下载量:9.6 M
安装大小:22 M
Is this ok [y/d/N]: y
Downloading packages:
sublime-text-3143-1.x86_64.rpm | 9.6 MB 00:03:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : sublime-text-3143-1.x86_64 1/1
验证中 : sublime-text-3143-1.x86_64 1/1
已安装:
sublime-text.x86_64 0:3143-1
完毕!
[root@hadron ~]#