How to install Sublime Text editor on Ubuntu 20.04 step by step instructions
The first, easiest and recommend method is to install sublime text editor from Ubuntu snap repository.
Execute the bellow command to install the Sublime text editor on your Ubuntu 20.04 system:
$ sudo snap install sublime-text --classic
To upgrade Sublime text editor execute:
$ sudo snap install sublime-text
The second Sublime text editor installation method on Ubuntu 20.04 is to install packages directly from Sublime Text official repositories.
To do so execute the bellow commands:
$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - $ sudo apt-add-repository "deb https://download.sublimetext.com/ apt/stable/"
The above will add sublime text repositories into the system.
Once ready simply use the
apt command to install Sublime text editor:
$ sudo apt install sublime-text
In case you later on need to upgrade the editor to the latest version simply re-execute the above command.