How to install Sublime Text 3 on Ubuntu 20.04 / Linux Mint 20?

Windows Articles

How to install RainLoop (web-based email client) on Ubuntu 20.04?

Email plays an important role in companies and on a personal level. Sometimes it is convenient to have a personal email server,...

Fedora 33 available

Fedora is a Linux-based operating system, which also offers a development platform. In other words, it is free to use, modify, and...

Install GoAccess on Ubuntu 20.04?

Hello, friends. In this post, you will learn how to install GoAccess on Ubuntu 20.04. This way you will be able to...

The best lightweight web browsers

Hi! We currently spend a lot of time in front of the computer connected to the Internet. In fact, it is a...

Install Snowflake (SSH Client) on Ubuntu 20.04

Linux system administrators on servers have a big job behind them. Thanks to them, many of the services or tasks that an...
angeloma
angeloma
Senior Writer and partner

Developing applications requires tools that can facilitate the process. In the web environment, Sublime Text is quite popular for being a very complete text editor with many plugins that extend its functionality even more. So, in this post, I will show you how to install Sublime Text on Ubuntu 20.04 through its official repositories.

Install Sublime Text on Ubuntu 20.04

Sublime Text is a cross-platform application which makes it ideal for many developers. On the other hand in Linux, it has great support and even a repository dedicated to Ubuntu.

We can also run Sublime Text by downloading a binary in tarball format but although it is useful it is advisable to install it in the system. This way you can update the application via the update manager.

So, let’s start.

Open a terminal from the main menu or by pressing the keys CTRL + ALT +T

Once the terminal is opened, add the GPG key to the repository:

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

Output:

OK
1.- Adding the GPG key
1.- Adding the GPG key

Then, it installs some packages needed to add and manage the repository in question.

sudo apt-get install apt-transport-https
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting 'apt' instead of 'apt-transport-https'
The following additional packages will be installed:
apt-utils libapt-pkg6.0
Suggested packages:
apt-doc aptitude | synaptic | wajig dpkg-dev
The following packages will be upgraded:
apt apt-utils libapt-pkg6.0
3 upgraded, 0 newly installed, 0 to remove and 459 not upgraded.
Need to get 2336 kB of archives.
After this operation, 6144 B disk space will be freed.
Do you want to continue? [Y/n]

Now we can add the Sublime Text repository to the system software sources:

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

Output:

deb https://download.sublimetext.com/ apt/stable/

The next step is to refresh the APT cache so that the package manager can now read the packages from this new repository.

sudo apt update

With everything ready, we can install Sublime Text 3 by executing this command:

sudo apt install sublime-text
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
sublime-text
0 upgraded, 1 newly installed, 0 to remove and 459 not upgraded.
Need to get 9835 kB of archives
2.- Install Sublime Text on Ubuntu 20.04
2.- Install Sublime Text on Ubuntu 20.04

When the installation is finished, you can run it from the main menu of the distribution.

3.- Sublime Text running
3.- Sublime Text running

Remember that Sublime Text has a free license that we can always use but it is recommended to support these projects.

So, enjoy it. If you are a developer starting Sublime Text has the potential to help you a lot.

Conclusion

There are quite a few text editors nowadays, but Sublime Text is so good that together with Code they are the mandatory references in this area.

In case you are starting with the programming, you will find it quite useful and now you know how to install it in Ubuntu 20.04

So, share this post and join our Telegram Channel. Please buy us one coffee 😉

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install RainLoop (web-based email client) on Ubuntu 20.04?

Email plays an important role in companies and on a personal level. Sometimes it is convenient to have a personal email server,...

Fedora 33 available

Fedora is a Linux-based operating system, which also offers a development platform. In other words, it is free to use, modify, and...

Install GoAccess on Ubuntu 20.04?

Hello, friends. In this post, you will learn how to install GoAccess on Ubuntu 20.04. This way you will be able to...

The best lightweight web browsers

Hi! We currently spend a lot of time in front of the computer connected to the Internet. In fact, it is a...

Install Snowflake (SSH Client) on Ubuntu 20.04

Linux system administrators on servers have a big job behind them. Thanks to them, many of the services or tasks that an...
x