How to Install Sublime on Ubuntu 22.04

Sublime text editor is used as a programming text editor and it is supported on almost every platform. These platforms include Linux, Windows, and Mac OS. The latest released version of Sublime text editor is 4 at the time of this writing. It is used to write, edit and execute the codes of various languages. This text editor is a developers friendly. Sublime has a quick and easy to use interface.

In this article we are going to provide you the process in which you be able to install sublime on Ubuntu 22.04.

How to Install Sublime on Ubuntu 22.04?

Sublime has a minimalistic and beautiful interface. To install Sublime on Ubuntu 22.04 we have compiled a couple of steps to give you the brief explanation about the installation. To know more follow the steps below.

Step 1: Update System Packages

The initial step to perform before installing sublime is to update packages of the system:

sudo apt update

System repositories are now up to date.

Step 2: Install Curl

cURL stands for Clients URL which is used by developers to transfer data from the server and also to the server:

sudo apt install curl

The installation target is achieved.

Step 3: Import the GPG Key

Now, in the third step import the GPG key by running the code below:

curl -fsSL | sudo apt-key add

GPG key importation is verified by the above interface.

Step 4: Import Sublime Text Repository

Import Sublime text repository by the use of the following code snippet:

sudo add-apt-repository “deb apt/stable/”

The above import is now completed.

Step 5: Install Sublime

The following code snippet will be used to install Sublime on Ubuntu:

sudo apt install sublime-text

To read more Ubuntu articles, click here.

How to Launch Sublime on Ubuntu 22.04?

In order to launch Sublime navigate to Software Center and search ‘Sublime’ in the search box and there will Sublime icon will appear just click it open it:

The sublime text editor has been launched.

How to Uninstall Sublime from Ubuntu 22.04?

In order to remove Sublime from Ubuntu you need to use the code snippet below mentioned:

sudo apt autoremove sublime-text *purge -y


Sublime text editor is a free and open source text editor for multiple programming languages. It has a simple, fast, efficient and user-friendly interface. In this guide we have elaborated on the installation of Sublime on Ubuntu 22.04.