How To Install Sublime Text on Debian 11

Install Sublime Text on Debian 11

In this tutorial, we will show you how to install Sublime Text on Debian 11. For those of you who didn’t know, Sublime Text is a powerful and versatile text editor that has gained immense popularity among developers, writers, and anyone who works extensively with code or text files. Its sleek interface, vast array of features, and cross-platform compatibility make it a top choice for many professionals.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of Sublime Text powerful text editor on a Debian 11 (Bullseye).


  • A server running one of the following operating systems: Debian 11 (Bullseye).
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • An active internet connection.
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

Install Sublime Text on Debian 11 Bullseye

Step 1. It’s always a good practice to keep your system up-to-date before installing new software. Open the terminal and run the following commands to update the package lists and upgrade the installed packages:

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

Step 2. Installing Sublime Text on Debian 11.

Now we add the GPG key to your system using the following command:

wget -qO - | sudo apt-key add -

Then, add the Sublime Text repository:

echo "deb apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update the system repository and install it using the following command below:

sudo apt update
sudo apt install sublime-text

The first command updates the package lists to include the newly added Sublime Text repository, and the second command installs the Sublime Text package. If prompted, confirm the installation by typing ‘Y’ and pressing Enter.

Step 3. Accessing Sublime Text on Debian.

Once successfully installed, you can open this text editor program either from the Terminal or by visiting the Apps section and by choosing its icon, whichever is convenient for you.

Install Sublime Text on Debian 11 Bullseye

Congratulations! You have successfully installed Sublime Text. Thanks for using this tutorial for installing the latest version of Sublime Text 4 powerful text editor on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official Sublime Text website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!


r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button