Skip to content

How to Install Sublime Editor on Debian 12/11/10

How to Install Sublime Text Editor on Debian Linux. This tutorial will help you to install sublime text editor on your Debian system using PPA.

Category
Programming
Covers
Debian
Versions & support
About Debian →
On this page

Sublime Text is a versatile and sophisticated text editor designed for code, markup, and prose. Its sleek user interface, extraordinary features, and amazing performance make it a favorite among developers. If you’re running Debian, one of the most popular Linux distributions, and you want to install Sublime Text, this article will guide you through the process step by step.

Prerequisites

Before you start, you should have:

  • A system running Debian desktop system.
  • Access to a terminal.
  • Sudo privileges or access to the root user.

Step-by-Step Guide to Install Sublime

Step 1: Update Your Package List

Open your terminal. The first thing you should do is update your package list to ensure you have the latest sources. Type the following command and press Enter:

sudo apt update

Step 2: Install the GPG Key

Sublime Text has its repository signed with a GPG key to verify the authenticity of the packages. You need to install the GPG key using the following command:

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

Step 3: Add the Sublime Text Repository

Once the GPG key is added, you need to include the Sublime Text repository to your system’s software repository list. You can do this with the following command:

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

Step 4: Update Your Package List Again

With the Sublime Text repository added, you need to update your package list again to include the new software sources:

sudo apt update

Step 5: Install Sublime Text

Now, you’re ready to install Sublime Text. Execute the following command to install it:

sudo apt install sublime-text

Step 6: Launch Sublime Text

After installation, you can start Sublime Text through your terminal by typing:

subl

Alternatively, you can find Sublime Text in your Debian application menu and start it from there.

Installing Sublime on Debian Linux
Launch Sublime Text on Debian

The application will be started. Then you can open your project toolbar.

How to Install Sublime on Debian
Running Sublime Text on Debian

Updating Sublime Text

Sublime Text can be updated through your system’s package manager. Simply run the following commands periodically:

sudo apt update
sudo apt upgrade

These commands will update all your system’s packages, including Sublime Text, to their latest versions.

Conclusion

You have successfully installed Sublime Text on Debian. Sublime Text offers a wide range of features and plugins that can enhance your coding experience. Explore its capabilities and customize it according to your needs to make the most out of your development workflow.

Remember, Sublime Text is continuously updated with new features and bug fixes. Keeping your installation up to date ensures you have the latest improvements and security patches. Enjoy coding with one of the most powerful and elegant text editors available!

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top