Sublime Text 3包括 Windows 和 OS X 上的自動升級機(jī)制,可讓您輕松升級。并非違背 Linux 生態(tài)系統(tǒng)的本質(zhì),而是為大多數(shù)主要發(fā)行版提供了軟件包和軟件包存儲庫。
開發(fā)人員頻道中列出的內(nèi)部版本僅對許可用戶可用。購買前評估 Sublime Text 的用戶將需要使用穩(wěn)定頻道。
安裝 GPG 密鑰:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
確保將 apt 設(shè)置為可與 https 來源一起使用:
sudo apt-get install apt-transport-https
選擇要使用的頻道:
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
更新 apt 源并安裝 Sublime Text
sudo apt-get update
sudo apt-get install sublime-text
安裝 GPG 密鑰:
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
選擇要使用的頻道:
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf
更新pacman并安裝Sublime Text
sudo pacman -Syu sublime-text
安裝 GPG 密鑰:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
選擇要使用的頻道:
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
更新yum并安裝Sublime Text
sudo yum install sublime-text
安裝 GPG 密鑰:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
選擇要使用的頻道:
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
更新dnf并安裝Sublime Text
sudo dnf install sublime-text
安裝 GPG 密鑰:
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
選擇要使用的頻道:
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
更新 zypper 并安裝 Sublime Text
sudo zypper install sublime-text
更多建議: