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 cross-platform text editor written in C++ and python and developed for individuals who are looking for an effective yet minimalist tool for shuffling code around. Not only does it supports many languages, but you can also even extend the functionality using plugins.
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 4 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.
non-root sudo useror 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. Before we install any software, it’s important to make sure your system is up to date by running the following
apt commands in the terminal:
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
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 on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official Sublime Text website.