• *Wellcome Guest This Forum is created to help each other. Join us in our journey.

    * Guest Earn Piont Every Post, like, comment,and etc.

How to Install Sublime Text 3 on Debian 10


Simran Kaur

Sublime Text is an amazing source code editor designed for software and website development. It is a powerful tool preferred by programmers because it has cross-platform support, so Windows, Linux, and Mac users can easily use it. It is fast, lightweight, and offers good plugin support to create their custom settings.

Apart from it, Sublime offers good support for various programming languages, multiple commands, and shortcuts for ensuring fast workflows. It is a proprietary application, and you can use it for free, but you need to purchase a license for using it continuously on the system.

The installation process of Sublime Text 3 on Debian 10 is easy but requires a specific usage of commands to eliminate errors while installing it. We will cover complete information on How to install Sublime 3 on Debian 10 so that installing Sublime on the Linux system is hassle-free and can be installed independently.

Features of Sublime Text

Sublime Text offers some fantastic and useful features, so these features are:

  • It provides split editing features, which means you can view different panes, and every pane contains other tabs.
  • With various selection features, you can create amazing changes to a text efficiently.
  • You can use CTRL+R as a shortcut to create an efficient list of vast amounts of files.
  • Sublime has cross-platform support for Windows, Mac, and Linux. However, you need a license for using Sublime Text, and it doesn’t depend on the operating system.
  • Users can customize and configure sublime according to their requirements.
  • Sublime Text has a vast range of essential shortcuts for different functionalities.
How to Install Sublime Text 3 on Debian 10

Before starting the installation process, log in to the Debian system by sudo roost user by using the following command:

ssh root@debain

We are using the official Apt repository for the installation on Debian, Linuxmint, and Ubuntu, so execute the below command in the terminal:

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

Add the Sublime Text repository in the package manager; there are two types of Sublime Text repositories: a development version and a stable version.

We recommend a stable version because it consists of lesser bugs. Install it by using the below command in the terminal:

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

In case you want to use the development version, then execute the following command:

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

Next, update the package manager by a new Sublime Text repository, so execute the following command:

$ sudo apt update
root@debian:/# sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:4 https://download.sublimetext.com apt/stable/ InRelease [2,562 B] Get:5 https://download.sublimetext.com apt/stable/ Packages [1,014 B] Fetched 52.9 kB in 2s (23.5 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.

After updating the package manager, execute the below command for installing Sublime Text 3.

$ apt install sublime-text
root@debian:/# apt install sublime-text
Reading package lists... Done Building dependency tree Reading state information... Done
The following package was automatically installed and is no longer required: grub-pc-bin Use 'apt autoremove' to remove it.
The following NEW packages will be installed: sublime-text 0 upgraded, 1 newly installed, 0 to remove, and 42 not upgraded.
Need to get 9,846 kB of archives. After this operation, 34.8 MB of additional disk space will be used.
Get:1 https://download.sublimetext.com apt/stable/ sublime-text 3207 [9,846 kB]
Fetched 9,846 kB in 25s (394 kB/s)
Selecting previously unselected package sublime-text. (Reading database ... 141303 files and directories currently installed.)
Preparing to unpack .../sublime-text_3207_amd64.deb Unpacking sublime-text (3207) ... Setting up sublime-text (3207) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.31.4-3) ...

Once Sublime Text 3 is installed in the system, open the application using the search bar from the activities tab.

In case you want to uninstall Sublime Text 3 from the system, then execute the below command:

$ sudo apt-get remove sublime-text && sudo apt-get autoremove

This article covers all of the required information on how to install Sublime Text 3 on Debian 10. As explained previously, Sublime is an amazing tool designed for software and web developers and programmers and offers various unique features. We have included all of the necessary steps for installing Sublime Text 3, hope it works for you.

Credit to linux

Latest threads