centos7 & ubuntu14.02安装sublime 3


Centos7安装Sublime Text 3.0正式版

1、安装 GPG 公钥
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
yum-config-manager命令找不到 执行yum -y install yum-utils
3、正式安装
yum install sublime-text


Ubuntu14.02 安装Sublime Text 3.0正式版
1、添加sublime text 3的仓库
sudo add-apt-repository ppa:webupd8team/sublime-text-3
如果遇到add-apt-repository: command not found 解决方法为:
执行sudo apt-get install python-software-properties software-properties-common
2、sudo apt-get update
3、sudo apt-get install sublime-text-installer

配置python
package control的安装
ctr+`调出控制台然后粘贴从https://packagecontrol.io/installation复制的代码
如果安装成功则可以看到Package Control就说明安装成功了!

猜你喜欢

转载自www.cnblogs.com/zxpo/p/10142783.html