Jump to content

.snap Vs .deb Package


Recommended Posts



As the number of Linux applications grows, so does the concern about security. Even though there are few recorded Linux attack incidents, it is conceivable to be attacked by viruses, hackers, or malware.


Because Linux is open-source, those problems are fixed faster, and the community may contribute to maintaining the Linux World ready for any bug or virus that appears. When installing a vulnerable application (or app), it may require libraries that are no longer accessible on that distro’s version.

In this article, we’ll go through the key distinctions between.deb and.snap packages.


DEB Packages

Debian packages are collections of content files required to implement commands or features required by users to address a problem.


If the file is locally located, we generally use an elevated command, such as the one below, to install from the command line.

The core capability for installing and manipulating Debian packages is provided by dpkg. In most cases, users do not manage packages manually but instead utilize APT package management software.

Signed Packages GPG signature verification of signed Debian packages is supported by Debian-based distributions, however it is not enabled by default. As a workaround, repository metadata is used to validate the file’s authenticity.






  • To update, you need to have a PPA.
  • If you have a .deb package you can install it by double-clicking it.
  • .deb files are not very secure since they can have access to everything on your computer.
  • It shares libraries with other installed applications.


“snap” Packages

Snaps are software packages that are containerized and easy to generate and install. They auto-update and are completely safe to use. They also work on all major Linux systems without modification because their dependencies are bundled.

You only need to install snapd on your PC to get it up and running.




If you run it without sudo, it will ask for a password afterward.






  • Simple to package leveraging your existing tools.
  • Automatic updates for everyone.
  • Reach tens of millions of Linux systems.
  • Roll back versions effortlessly.
  • Integrate easily with build and CI infrastructure.
  • Free for open and closed source projects.
  • Snaps are quick to install from GNOME Software or the command line.
  • Snaps update automatically and transactionally so your app is always fresh.
  • Snaps stay secure as they are confined from the OS, other apps, and hardware functions.
  • You can revert snap to an earlier state if the snap fails.

Many Distros are already using snap packaging including fedora and Debian.



Edited by aum
Link to comment
Share on other sites

  • Views 812
  • Created
  • Last Reply

Top Posters In This Topic

  • aum


Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...