Installing Sublime Text 4 via Official Repository in Ubuntu which was officially released a few days ago.

Here’s how to install it in Ubuntu 20.04. Open a terminal and follow the following commands

1. update your system first

> sudo apt update

2. if you have upgradable packages like 'packages can be upgraded. Run 'apt list --upgradable' to see them'. upgrade your system

> sudo apt upgrade -y

3. Download and install the GPG key by running command

> wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

you have to get 'Ok' for successful installation of GPG key

4. you have to make sure https is supported

> sudo apt install apt-transport-https

5. Add the sublime text repository to your system

> echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

you have to get the following message for successful addition 'deb https://download.sublimetext.com/ apt/stable/'

6. update your system

> sudo apt update

7. Finally, install sublime text

> sudo apt install sublime-text

8. done !

references:

https://www.sublimetext.com/download

https://ubuntuhandbook.org/index.php/2021/05/sublime-text-4-released-how-to-install-it-via-official-repository/

More Tewodros Legesse Munea's questions See All
Similar questions and discussions