ubnutu16.04安装sublime具体过程

2018-04-23  本文已影响0人  无聊才读書

1.安装GPG钥匙:

wget -qO -

https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

2.确保apt被设置为使用https源:

sudo apt-get install apt-transport-https

3.选择使用的通道:

稳定版:

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

开发板:

echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

4.更新apt源并且安装sublime text

sudo apt-get update

sudo apt-get install sublime-text

上一篇下一篇

猜你喜欢

热点阅读