sublime-text-installation-ubuntu-linuxquery

In this article i will tell how to install sublime text on linux os.

First, Update your APT package.

sudo apt update && sudo apt upgrade

Install the GPG key

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Ensure apt is set up to work with https sources

sudo apt-get install apt-transport-https

For Stable version repositary use the below command

echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Note: I recommend you to use the stable version of sublime text

For Dev repositary use the below command

echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

After selecting your repositary run the sudo apt update command

sudo apt update

Now install Sublime Text

sudo apt-get install sublime-text

Leave a Reply

Your email address will not be published. Required fields are marked *