📜  安装 sublime text manjaro - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:20.291000             🧑  作者: Mango

代码示例1
// install sublime text on manjaro

//Install the 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

// Select the channel to use:

// Stable

    echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf

// Dev

    echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf

// Update pacman and install Sublime Text

sudo pacman -Syu sublime-text