https://www.sublimetext.com/docs/3/linux_repositories.html
apt
Install the GPG key:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Ensure apt is set up to work with https sources:
sudo apt-get install apt-transport-https
Select the channel to use:
Stable
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Dev
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Update apt sources and install Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
博客介绍了使用apt安装Sublime Text的相关内容,包括安装GPG密钥、确保apt能与https源配合工作、选择使用的频道(稳定版或开发版),还需更新apt源并完成安装,同时给出了相关文档链接。

被折叠的 条评论
为什么被折叠?



