Hızlı yanıt: kod örneği
askubuntu.com what-is-an-appimage-how-do-i-install-it
The basic idea might look similar between the two systems, but there are some design differences between snaps and Appimages.Some "big" ones that come to my mind are: access (only the admin has that) but I need the latest version of particular software that, fortunately, the developer has provided in Appimage form.I am a bit afraid that some malign code is indeed contained in them, so I checked as much as possible the identity of the publisher. I am not 100% sure that this software is benign, but I have done all I could.
- Security, in terms of confinement: Snap packages run in a sandbox, and they are not allowed to escape from it and reach other parts of the system that they should not touch. This is a stronger security layer that runs parallel to the permission's system. Obviously, it is a bit frustrating when dealing with it at the beginning (and also later on), but if you think about it in terms of system administration, this is the thing that an administrator wants for their users.
- Security: Installing software taken from around the net, is as safe as going around licking poles in the streets. Sometimes nothing happens, sometimes you get some very big health issues. Snap packages have their proper repositories, that are controlled by Canonical, like the usual standard Ubuntu repositories. You can go on and install files from around, but that will be your choice and not a design issue.
.deb
- Installation: AppImages are meant to be the equivalent of the "portable Windows executables". All the libraries are self-contained and any user can just download and execute one of those. On the other hand, packages are proper packages, and they need to be installed (as
snap
, or withroot
) via the apposite package manager (sudo
throws an error: it needssnap install tic-tac-toe
!)sudo
- Removal: To remove a snap package, you need to use the package manager with the right permissions to do so. AppImages, on the other hand, are just "there". So any user does not want that AppImage? He/she just removes the file and it is gone.
snap remove ...
root