I was following the instructions to install sublime text on Ubuntu (I’m using Ubuntu 18.10) and did
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee
sudo apt-get update
All the above completed normally, then I did:
sudo apt-get install sublime-text
and it failed with
No apt package "sublime-text", but there is a snap with that name.
Try "snap install sublime-text"
E: Unable to locate package sublime-text
I tried the snap command suggested above but it failed with
error: This revision of snap "sublime-text" was published using classic confinement and thus may
perform arbitrary system changes outside of the security sandbox that snaps are usually
confined to, which may put your system at risk.
If you understand and want to proceed repeat the command including --classic.
any suggestions as to what I’m doing wrong or how to fix