Add a Remote Key to the Trusted Keystore



wget -qO https://download.sublimetext.com/sublimehq-pub.gpg - | sudo apt-key add -
#-q: quiet (no output)
# O: write to file
# -: stdin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ensure apt is set up to work with https sources



sudo apt-get install apt-transport-https


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Select the channel to use



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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Update apt sources and install Sublime Text



sudo apt update
sudo apt install sublime-text



wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -


# List fingerprints
apt-key finger

Index