centos7 & ubuntu14.02安装sublime 3

本文详细介绍了如何在Centos7和Ubuntu14.02上安装Sublime Text 3正式版,包括添加软件源、安装GPG公钥、配置软件包等步骤,并提供了在Ubuntu上解决add-apt-repository命令未找到问题的方法。


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就说明安装成功了!

转载于:https://www.cnblogs.com/zxpo/p/10142783.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值