×


Install Sublime Text 3 on Debian 11 - Step by step guide ?

Sublime text is cross-platform, a sophisticated text editor for writing code, prose, and markup languages. It is written in C++ and python. The sublime text editor supports various programming and markup languages. It is typically community-built and comes with many advanced features such as pane management and symbol indexing. It allows individuals and programmers to expand its functionality by using different plugins.

Here at Ibmi Media, we shall look into how to install sublime text 3 on Debian 11 bullseye system. 

You can also install sublime text editor on CentOS 8 and Ubuntu distribution.


Steps to install Sublime Text 3 on Debian 11 bullseye:

1.  Perform System Update 

First, update and upgrade the repository index by using the below commands:

$ sudo apt update
$ sudo apt upgrade


2. Add Sublime Text repository to the system

You can download sublime text 3 directly from the official sublime text download page and then install the binary file on your Debian system. Alternatively, you can use the below-mentioned method to install sublime text 3 on Debian 11 system.

Start downloading the Sublime text repository's GPG key to your Debian system by using the'wget' command:

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

Once the GPG key is downloaded to your system, include the sublime text repository by using the following command:

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

Once the sublime text repository is included in your Debian system, update the packages index:

$ sudo apt update


3. Install Sublime Text 3 on your system

Now, install the sublime text 3 on Debian 11 bullseye distribution by using the below-mentioned command:

$ sudo apt-get install sublime-text


How to Launch Sublime text 3 ?

You can launch the Sublime text 3 either by using the terminal windows or by finding the sublime text icon in the application menu:.

Click on the displaying icon to launch the sublime text 3 on Debian 11 system.


How to Uninstall Sublime Text from Debian 11 system ?

If you don't need to use sublime text 3 on your Debian system further, you can uninstall it by using the following commands:

$ sudo apt remove sublime-text

You need to remove the added sublime text repository from your system by running the below-mentioned command:

$ sudo rm /etc/apt/sources.list.d/sublime-text.list


[Need help in fixing Debian Linux issues ? We can help you. ]


Conclusion

This article covers how to remove the sublime text editor from the Debian 11 system. In fact, 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.