install sublime text manjaro 1

install sublime text manjaro

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

Here is what the above code is Doing:
1. Download the GPG key
2. Add the GPG key to pacman’s keyring
3. Trust the GPG key
4. Remove the GPG key
5. Add the Sublime Text repository to pacman’s list of repositories
6. Update pacman’s package list
7. Install Sublime Text

Similar Posts