Sublime Text is one of the most popular, powerful and widely used text editor today. It is used for web and software development. You also can make it more powerful by installing Sublime Text plugins. This guide shows you how to install Sublime Text 3 on Ubuntu 20.04 system.
Before you start Sublime Text 3 installation on Ubuntu, Make sure you are logged in as a non-root user with sudo privileges.
Install Sublime Text on Ubuntu
Sublime Text is a proprietary application. It can be downloaded and evaluated for free. Follow the below steps to install Sublime Text 3 on your Ubuntu 20.04 system:
Step 1 – Install Dependencies
At first, update the
apt package list by typing:
sudo apt update
After that you should install necessary dependencies for fetching packages from
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
Step 2 – Import GPG Key
Now we will import GPG key of the repository using following curl command:
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
Next add the Sublime Text apt repository to your system using below command:
sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
Step 3 – Installing Sublime Text 3
Once the repository enabled again update the package index list:
sudo apt update
Finally, Execute the below command to install Sublime Text 3:
sudo apt install sublime-text
That’s all. Sublime Text is installation is complete on your Ubuntu system and ready to use.
When a new version is released, you can update the Sublime package through your desktop standard Software Update tool.
Start Sublime Text
You can start Sublime Text using your system terminal by typing
subl or your can launch from
Activities -> Sublime menu.
When you launch Sublime Text first time it will look like as below:
You successfully learned how to install Sublime Text 3 on your Ubuntu 20.04 system. You also can customize your Sublime Text editor by installing plugins.
To get more details about Sublime Text visit the official Sublime Text documentation page.
If you have any question or suggestion, please leave comment below.
Leave a Reply