Installing Sublime Text

The following are the steps taken to install Sublime Text for my POS OS project.

Adding the Sublime repo key:

sudo wget -O- https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/sublimehq.gpg

A bunch of crazy stuff will show up on the screen:

Download the most recent version of Sublime Text. We are going to download the stable version.

echo 'deb [signed-by=/usr/share/keyrings/sublimehq.gpg] https://download.sublimetext.com/ apt/stable/' | sudo tee /etc/apt/sources.list.d/sublime-text.list

Install Sublime Text.

sudo apt update
sudo apt install sublime-text