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).
Prerequisites
- 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 theroot user
. We recommend acting as anon-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 - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Then, add the Sublime Text repository:
echo "deb https://download.sublimetext.com/ 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.
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.