ubuntu安装sublime text3

之前从官网下载的是压缩包,但是无法直接从终端启动,据说要试着各种路径之类的,所以去官网找到一个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

sudo apt-get update
sudo apt-get install sublime-text

 

posted @ 2019-10-30 15:00  biiigwang  阅读(987)  评论(1编辑  收藏  举报