how to install sublime text in linux code example
Example 1: sublime text download ubuntu
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update && sudo apt install sublime-text
Example 2: how to install sublime text on arch linux
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
sudo pacman -Syu sublime-text
Example 3: how to open sublime in linux
sudo ln -s /snap/sublime-text/38/opt/sublime_text/sublime_text /usr/local/bin/subl
Example 4: sublime text linux
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -