How to Install Sublime Text 3 on Debian 9

Install Sublime Text 3 on Debian 9

Sublime Text is one of the powerful text editor available for Debian. Sublime Text can be used as text or source code editor for web and software development. You can also extend the functionality of Sublime Text using plugins. In this tutorial, you are going to learn how to install Sublime Text 3 on Debian 9.


Before you start to install Sublime Text 3 on Debian 9. You must have the non-root user account on your system with sudo privileges.

Install Sublime Text

First update apt package manager index by running following code:

sudo apt update

Now install the dependencies to fetch packages from https sources:

sudo apt install apt-transport-https ca-certificates curl software-properties-common

Import GPG key of the repository using following command:

curl -fsSL | sudo apt-key add -

Now Add Sublime Text APT repository to repository list in your system running following command:

sudo add-apt-repository "deb apt/stable/"

Now once again update package manager index running following command:

sudo apt update

Finally to install Sublime Text run following command:

sudo apt install sublime-text

Start Sublime Text

To launch Sublime Text from terminal run following command:


You can also launch Sublime Text using start menu in Debian 9.

After launching Sublime Text you will get the following output:

Sublime Text
Sublime Text


You have successfully learned how to install Sublime Text 3 on Debian 9. If you have any queries regarding this tutorial then please don’t forget to comment below.