Install Sublime Text Ubuntu 22.04 Tutorial Example

10-Feb-2023

.

Admin

Install Sublime Text Ubuntu 22.04 Tutorial Example

Hi Guys,

If you need to see example of How to Install Sublime Text 4 on Ubuntu 22.04 using Terminal?. I would like to share with you Sublime Text 4 Ubuntu 22.04 - Installation Using Terminal. you will learn 4 ways to Install Sublime Text 4 on Ubuntu 22.04. This post will give you simple example of Installation of Sublime text editor on Ubuntu 22.04. Here, Creating a basic example of Sublime Text Install in Ubuntu Using Terminal Commands.

You can use this post for ubuntu 14.04, ubuntu 16.04, ubuntu 18.4, ubuntu 20.04, ubuntu 21 and ubuntu 22.04 versions.

Step 1: Update the sublime repository


Sublime Text using the command line, first, update your Ubuntu package manager by running the below command and followed by the second command to install using single installation command from the snap maintained package manager.

$ sudo apt update

Step 2: Download and install related dependencies

To install from Ubuntu’s Apt repository, first, make sure your “HTTPS” source is supported or not, if not supported, run the below command to enable.

$ sudo apt-get install apt-transport-https

Step 3: Add the Sublime repository

It will open a file, now add the following line on the file by pressing the “i” key on the keyboard and save it by pressing “ESC + : + wq”.

$ deb [signed-by=/usr/share/keyrings/sublimehq-pub.gpg]

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

Step 4: Install Sublime 4 Text

After saving the file, update the repository again and then install Sublime Text by following commands.

$ sudo apt update

$ sudo apt install sublime-text

#Ubuntu