DEV Community

Cover image for Install Sublime Text 3 on Ubuntu 20.04
Mosfeq Anik
Mosfeq Anik

Posted on

Install 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:

1.Install the dependencies necessary to add a new repository over HTTPS:

sudo apt update

sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common

2.Import the repository’s GPG key and the Sublime APT repository to your system’s software repository list by typing:

curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

optional//
if curl is Not Found
sudo snap install curl # version 7.76.1

sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"

03.Once the repository is enabled, install the Sublime Text 3 by typing:

sudo apt install sublime-text

That’s it, you have installed Sublime Text 3 on your Ubuntu 20.04 desktop, and you can start using it.

When a new version is released, you can update the Sublime package through your desktop standard Software Update tool.
Starting Sublime Text
sudo apt update

You can start the Sublime Text editor either from the terminal by typing subl/sublime or by clicking on the Sublime icon (Activities -> Sublime)

Top comments (0)