Sublime is an powerful text editor supports multiple programming language. It is an popular text editor between the developers. In this tutorial, you will find 2 methods of installing Sublime text editor on Ubuntu 20.04 system. The first method uses Snapd package manager and another method uses official PPA for the packages installation. Its your choice to select a method of Sublime installation on Ubuntu 20.04 LTS system.
You may also like => Installing Visual Studio Code on Ubuntu 20.04
Method 1 – Install Sublime with Snapd on Ubuntu 20.04
The Sublime text snappy package is available for Ubuntu 20.04 system. Snapd is also default available for this operating system.
To install Sublime-text latest version, type:
sudo snap install sublime-text --classic
This will take a few moment and sublime is ready to use on your system.
Method 2 – Install Sublime with PPA on Ubuntu 20.04
You can also use the sublime official Apt repository for the installation of Sublime on Ubuntu 20.04 systems. First, import gpg key to your system by running command:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Next, add the Sublime text Apt PPA in your Ubuntu system by executing the following command:
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
You system is prepared for the Sublime installation from official PPA. Now use the following commands to install Sublime text latest version on your Ubuntu system.
sudo apt update
sudo apt install sublime-text
Once the above command finished. Sublime will be installed on your system.
Access Sublime Editor on Ubuntu
You can search for “sublime” under the all applications on your system. You will see the sublime icon there like below.
Click on Sublime icon to launch application.
In this tutorial, you have learned about two methods of Sublime installation on Ubuntu 20.04 system.