This question already has an answer here:

how to install sublime text in UBUNTU? And also, what is the command to run the application and I also want to know how to program using sublime text.

marked as duplicate by Byte Commander, George Udosen, karel, Eric Carvalho, N0rbert Feb 11 '18 at 15:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Sublime Text 3 is available from the official Sublime Text repository. The following information was taken from the documentation available at that page.

In order to use the repository, install their signing key:

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

Make sure your apt supports https:

sudo apt install apt-transport-https

Add an entry for the repository to your apt configuration:

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

Install Sublime Text using apt

sudo apt update
sudo apt install sublime-text

Not the answer you're looking for? Browse other questions tagged or ask your own question.