+2 votes
in Software by (1.5m points)

How to install Sublime Text 3 on Linux Ubuntu

1 Answer

+3 votes
by (725k points)
Best answer

If you follow this blog closely you will have read on more than one occasion about Sublime Text , an almost perfect text editor that adapts to different types of users . Until now we had focused on its specific use under the Windows operating system, but today we take a helm and we will show you how to install Sublime Text 3 on Linux Ubuntu .


Until now we had the disadvantage that the new versions of Sublime Text 3 for Linux were not automatically updated and we had to use some third-party PPA repository. But finally this is over since we have the official Sublime Text repository for Linux Ubuntu and other distributions based on it .

How to install Sublime Text 3 on Ubuntu from the official repository.

First of all we have to add the security key , this is achieved by executing the command:

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

Now we can add the repository to our system with the command:

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

With this last command we have added the repository of the stable version of Sublime Text, but if we wanted to add the development version we would execute this command instead:

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

Finally we proceed with the usual installation commands:

sudo apt update
sudo apt install sublime-text

If the whole process has worked correctly, we will have Sublime Text 3 ready to run and start editing our text files.


Final considerations before installing Sublime Text 3.

Finally remember that Sublime Text is a closed source text editor and that its use is free for a certain period . When this trial period expires, the typical message will be displayed reminding us that we can buy a license, although the program remains fully functional.

I know there are many options for free and open source text editors for Linux, but for many users accustomed to using Sublime Text on Windows (among which I include myself) it can be an interesting option.

Most popular questions within the last 20 days