How to Install Sublime Text 3 on Ubuntu 22.04 2

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 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

How to Install Sublime Text 3 on Ubuntu 22.04 3

Press “Y” to continue:

How to Install Sublime Text 3 on Ubuntu 22.04 4

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

How to Install Sublime Text 3 on Ubuntu 22.04 5

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

How to Install Sublime Text 3 on Ubuntu 22.04 6

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/”

How to Install Sublime Text 3 on Ubuntu 22.04 7

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

How to Install Sublime Text 3 on Ubuntu 22.04 8

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:

How to Install Sublime Text 3 on Ubuntu 22.04 9

How to Install Sublime Text 3 on Ubuntu 22.04 10

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.

Leave a Comment

Your email address will not be published. Required fields are marked *