Manjaro linux 安裝 Sublime Text 3
透過 pacman 安裝
Step 1. 安裝 GPG key
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
Step2. 設定使用 Stable 或 Develop 的 channel 來安裝 (建議Stable)
Stable:
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
Develop:
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf
Step 3. 透過 pacman 安裝
sudo pacman -Syu sublime-text
reference:
https://www.sublimetext.com/docs/3/linux_repositories.html#pacman
標籤: Manjaro, Sublime Text