Install sublime text editor on ubuntu 20.04 / 22.04 using terminal; In this tutorial, you will learn how to install sublime text editor in ubuntu 22.04 / 20.04 system using terminal.
Sublime text editor is mostly used as source code editors for web development and prgramming software world. It’s very fast and it comes with many powerful features. You can increase it’s functionality by installing new packages and you can do also custom setting on sublime text editor
Great sublime code editor is available for Ubuntu/Linux. It is also available Mac and Windows systems. And this brief tutorial show you, how to install it at Ubuntu 20.04.
How to Install Sublime Text on Ubuntu 20.04 / 22.04
Just follow the following steps to install Sublime Text 4 on your ubuntu 20.04 / 22.04 system using terminal or command line:
Step 1 – Update the sublime repository
In this step, execute the following command on your terminal to update Apt package list or Install dependencies required to get packages from https sources:
sudo apt update
Step 2 – Download and install related dependencies
In this step, execute the following command on your terminal 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
In this step, Add the sublime text APT repository to your software’s, software repository list by executing the following command on terminal:
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
Step 4 – Install Sublime 4 Text
In this last step, you need to execute the following command on terminal to install sublime text 3 in your ubuntu 20.04 system and Update apt sources:
sudo apt update sudo apt install sublime-text
Conclusion
In this tutorial, you have learned how to install sublime text editor in the ubuntu system using the terminal.
That’s it. Sublime text has been download on your Ubuntu 20.04 / 22.04 system.