Categories: Ubuntu

How to Install Sublime Text 3 on Ubuntu 22.04

Sublime Text 3 is an efficient and popular code editor that is used for both front-end and back-end web development and can be customized with numerous plugins present on the web. You can code more than 20 programming languages on Sublime Text 3, such as C++, Python, Ruby, Java, etc. This code editor is fast and comes with an intuitive IDE and many other powerful features.

You can use this code editor on multiple platforms such as Windows, macOS, and Linux-based systems such as Ubuntu 22.04. However, in this blog, we will specifically discuss the procedure to install Sublime Text

Sponsored
3 on Ubuntu 22.04.

How to install Sublime Text 3 on Ubuntu 22.04

Installing Sublime Text 3 on Ubuntu 22.04 requires you to follow some steps, which have been demonstrated in the following procedure.

Step 1: Update System

Before you jump to installing the source code editor, press CTRL+ALT+T” to open up the terminal and make sure that your system packages are up to date:

$ sudo apt update && sudo apt upgrade

Press “Y” to continue:

Within a few minutes, all of the system packages will get updated.

Step 2: Install Curl

Now, you are required to install curl, which can be done using this command:

$ sudo apt install curl

Output

Step 3: Import the GPG key

Then, import the GPG key of Sublime Text 3:

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

Output

Sponsored

Step 4: Import Sublime Text Repository

The next step is to import Sublime Text Apt Repository in your system by writing out the given command in the opened terminal:

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

It’s time to move to the next instruction.

Step 5: Sublime code editor installation

Now that you have all the required dependencies and repositories, install the Sublime code editor on your Ubuntu 22.04:

$ sudo apt install sublime-text

Installation is all done!

Step 6: Start Sublime

You can now search for the Sublime Text code editor in the “Activities” menu, open it from there and start writing your code:

We have compiled the easiest method to install Sublime Text 3 on Ubuntu 22.04.

Conclusion

For the purpose of installing Sublime Text 3 on Ubuntu 22.04, you need to have certain dependencies and repositories and then install the code editor using the “$ sudo apt install sublime-text” command. Once installed, you can find the source code editor in the “Activities” menu and start writing your code. This blog demonstrated the method of Sublime Text 3 installation on Ubuntu 22.04.

Ubuntu Server Admin

Recent Posts

How to Install nvidia-smi on Ubuntu or Debian Linux

In this article, we will see how to install nvidia-smi on Ubuntu or Debian Linux.…

4 hours ago

How to Install clang tool on Ubuntu or Debian Linux

In this article, we will see how to install clang tool on Ubuntu or Debian…

1 day ago

How to resolve Ubuntu 20.04 Container Signature Errors on Raspberry Pi ARM Devices

When working with Docker containers on Raspberry Pi devices, you might encounter frustrating signature verification…

2 days ago

How to fix DNS Resolution Issues with OpenVPN on Ubuntu 18.04

You’ve recently upgraded to Ubuntu 18.04 and found that your OpenVPN connection no longer resolves…

2 days ago

How to Fix Ubuntu 18.04 System Monitor Launch Issues

Have you ever tried to open System Monitor on your Ubuntu 18.04 system only to…

3 days ago

What is System Hardening? Essential Checklists from OS to Applications

System hardening means locking down a system and reducing its attack surface: removing unnecessary software…

3 days ago