If apt-get detects that a package you told it to install is also available as a snap it’ll silently install that instead and you have to edit the Linux equivalent of the registry to get it to not do that
Not entirely true. I experienced it with curl. Snap of it exists and it mostly works. But apt install curl will install regular curl. From what I’ve seen on my Ubuntu it installs a snap only if the apt package is set to install a snap. Such as Firefox. It doesn’t exist in Ubuntu’s repo anymore, only as a metapackage.
If
apt-get
detects that a package you told it to install is also available as a snap it’ll silently install that instead and you have to edit the Linux equivalent of the registry to get it to not do thatNot entirely true. I experienced it with curl. Snap of it exists and it mostly works. But
apt install curl
will install regular curl. From what I’ve seen on my Ubuntu it installs a snap only if the apt package is set to install a snap. Such as Firefox. It doesn’t exist in Ubuntu’s repo anymore, only as a metapackage.