M
M
mouLL2022-02-24 12:23:25
linux
mouLL, 2022-02-24 12:23:25

Is Snap safer than Apt?

Good afternoon!
I learned that the main difference between these package managers is that snap itself contains everything you need, while through apt, setting up dependencies is up to the user. Due to which snap weighs more and apt weighs less.

I also came across information that it is better to install heavy applications through snap, and everything else through apt.

And from several other articles, I concluded that snap provides more security. Does this mean that it is better to install all kinds of messengers via snap, or did I misunderstand?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
CityCat4, 2022-02-24
@mouLL

There are some sound thoughts here, but the idea is mostly wrong.
snap is a "portable" (portable) application, if in Windows terminology. It contains all the additional libraries that it may need, just like Windows does (due to which a computer can have ten copies of the same library of different versions)
, apt installs a "regular" package that depends on system libraries. And that's all. There is no more difference between them.
As far as security is concerned, everything is twofold. On the one hand, a snap may contain a library that does not have a vulnerability that a system library has, on the other hand, when I fix a system library, I fix a vulnerability in it - but not in a snap!

snap provides more security

No. Not more and not less. The same.
through apt, setting up dependencies is up to the user

No. On the package builder.
It’s all the same how to install messengers - they leak data not because they are compromised by third parties, but because they agreed with them ...

D
Drno, 2022-02-24
@Drno

And what about UTT security and instant messengers?
SNAP allows you to install the entire package with all dependencies as "portable" without touching the main system and installed applications. In this regard, it is more convenient and safer.
APT, on the other hand, installs all dependencies directly into the system, and if there is no dependency or they conflict, it will not be able to install the application

M
mikes, 2022-02-24
@mikes

snap despite restrictions on access to resources is not a docker and not a virtual machine. binaries are not executed in some isolated space

A
AVKor, 2022-02-24
@AVKor

dependency setting is up to the user

No. On the package maintainer.
I also came across information that it is better to install heavy applications through snap, and everything else through apt.

No.
And from several other articles, I concluded that snap provides more security.

No.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question