Categories: Ubuntu

Installing Sublime Text 3 on Ubuntu 20.04

Sublime Text is a fast, reliable, and versatile shareware source code editor used by many front and back-end web developers around the world. The vanilla editor can be personalized and customizable, with hundreds of plugins available on the web. It supports well over 20 programming languages, including C++, Ruby, Python, and Java.

For the speed, swiftness, and intuitive IDE, Sublime Text 3 has it all to offer that every app developer should at least give it a try.

In this brief tutorial, you’ll see how to install Sublime Text 3 on Ubuntu 20.04 as a user with Sudor privileges. If you have root access, don’t include Sudo before the commands.

Step 1: Update the sublime repository

Update the Sublime repository by running the command below:

$ sudo apt update

Step 2: Download and install related dependencies

To add the sublime repository to the system’s, you’ll need to install the supporting packages first. Type in the following command:

$ sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

Step 3: Add the Sublime repository

Retrieve its GPG key and add its APT repository with the following commands:

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

$ sudo add-apt-repository “deb https://download.sublimetext.com/ apt/stable/”


Your software repository list should now include a Sublime repository.

Step 4: Install Sublime Text 3

Install the Sublime Text 3 text editor by running the command below:

$ sudo apt install sublime-text


Sublime text 3 should be installed on your system.

Launching the app

From the CLI, you can type subl to launch Sublime Text editor. Or you can head over to the activity’s dashboard, type Sublime Text, and then click on the app icon.


The window prompted should display the IDE features on the left.

Conclusion

This post seeks to help you install Sublime Text 3 from the sublime repository. We added the sublime repository to the system’s software repository and downloaded the dependencies before actually installing the code editor. Its fast and intuitive interface is bound to impress you. You should look up the plugins to add extra features to personalize the IDE.

While Sublime Text is available for free, you’ll need to eventually license the software, even though the devas haven’t set any trial expiration date. You should get registered if you are planning on using it for commercial purposes.

The app won’t be updated automatically, so keep an eye out for any newer updates.

To learn more about Sublime Text 3, check out their official webpage.

Ubuntu Server Admin

Recent Posts

🚀 Deploy Elastic Stack on Ubuntu VPS (5 Minute Quick-Start Guide)

Here’s the guide to deploy Elastic Stack on Ubuntu VPS, with secure access, HTTPS proxying,…

1 day ago

🚀 Deploy Nagios on Ubuntu VPS

This guide walks through deploying Nagios Core on an Ubuntu VPS, from system prep to…

2 days ago

Shoryuken Has a New Maintainer, and v7.0.0 Is Almost There

After a decade under Pablo Cantero's stewardship, Shoryuken has a new maintainer - me. I'm…

5 days ago

A better way to provision NVIDIA BlueField DPUs at scale with MAAS

MAAS 3.7 has been officially released and it includes a bunch of cool new features.…

2 weeks ago

Ruby Floats: When 2.6x Faster Is Actually Slower (and Then Faster Again)

Update: This article originally concluded that Eisel-Lemire wasn't worth it for Ruby. I was wrong.…

2 weeks ago

MicroCeph: why it’s the superior MinIO alternative (and how to use it)

Recently, the team at MinIO moved the open source project into maintenance mode and will…

2 weeks ago