what is the difference between snap and apt/apt-get? [duplicate]

Solution 1:

Both snap and apt are package management systems. Apt was designed to work with Debian distributions, like Ubuntu, while snap is universal and used on various range of Linux distributions. Apt simply installs contents of the package in a location specified in the package description, and software installed in this way may require system or 3rd party libraries, while snaps are self-contained, run in a sandbox and do not communicate directly with the host system.

Also apt is free and is the part of the Debian project, while snap was created commercially.