download sublime text for ubuntu 20.04 code example

Example 1: how to install sublime in ubuntu 20.04 using terminal

sudo apt install sublime-text

Example 2: how to install sublime in ubuntu 20.04 using terminal

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

Example 3: how to install sublime in ubuntu 20.04 using terminal

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