作者:mobiledu2502858253 | 来源:互联网 | 2023-07-02 14:14
在Ubuntu上安装SublimeText首先下载SublimeText3存储库的安全密钥。这将确保从回购站下载的软件包经过身份验证等:wget-qO-https
在Ubuntu上安装Sublime Text
首先下载Sublime Text 3存储库的安全密钥。这将确保从回购站下载的软件包经过身份验证等:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
下一步。 将Sublime Text稳定库添加到您的软件源中:
echo “deb https://download.sublimetext.com/ apt/stable/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
如果你想运行Sublime Text的最新开发版本,你可以:只需运行这个命令,而不是上面的命令:
echo “deb https://download.sublimetext.com/ apt/dev/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
无论是稳定还是开发,一旦您添加了,您都可以继续运行更新并安装应用程序:
sudo apt update && sudo apt install sublime-text
这就是你需要做的所有事情。
安装完成后,您可以从桌面应用启动器启动应用程序。
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
then you can use it in desk’s icon