Sublime Text is a popular text and source code editor for web and software development. It’s blazing fast, and comes with lots of powerful features out of the box. The application can be upgraded and customized by installing new plugins and making custom settings.
This article describes how to install Sublime Text 3 on Ubuntu 20.04. Installing Sublime on Ubuntu is quite easy. We will enable the Sublime repository, import the repository’s GPG key, and install the editor. The same instructions should work on other Debian based distributions.
Sublime Text is a proprietary application. It can be downloaded and evaluated for free. However, you will need to purchase a license if you continue to use it. No time limit has been set for evaluation.
Installing Sublime Text 3 on Ubuntu 20.04
Perform the following steps as root or user with sudo privileges to install Sublime Text 3 on Ubuntu:
- Install the dependencies needed to add the new repository over HTTPS:
sudo apt update sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
- Import the GPG key of the Sublime APT repository and APT repository to your system software repository list by typing:
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
- Once the repository is enabled, install Sublime Text 3 by typing:
sudo apt install sublime-text
That’s all, you have Sublime Text 3 installed on your Ubuntu 20.04 desktop, and you can start using it.
When a new version is released, you can update Sublime packages via your desktop standard Software Update tool.
Starting Sublime Text
You can start the Sublime Text editor either from a terminal by typing sublime or by clicking on the Sublime icon (Activity -> Sublime):
When you launch Sublime Text for the first time, a window like the following will appear:
We have shown you how to install Sublime Text on Ubuntu 20.04. Your next step is to install the Sublime Text Package Control and start customizing your new editor according to your needs.
To find more information on Sublime Text, visit the official Sublime Text documentation page.
If you have any questions, feel free to leave a comment below.