Software Alternatives, Accelerators & Startups

Snapcraft VS pkgsrc

Compare Snapcraft VS pkgsrc and see what are their differences

Snapcraft logo Snapcraft

Snaps are software packages that are simple to create and install.

pkgsrc logo pkgsrc

pkgsrc is a framework for building over 17,000 open source software packages.
  • Snapcraft Landing page
    Landing page //
    2023-09-12
  • pkgsrc Landing page
    Landing page //
    2023-06-30

Snapcraft features and specs

  • Universal Packaging
    Snapcraft provides a single packaging format that works across multiple Linux distributions, simplifying the process for developers to distribute their applications.
  • Automatic Updates
    Snaps can be configured to automatically update, ensuring that users always have the latest version of the application with security patches and new features.
  • Isolation and Security
    Snaps run in a confined sandbox environment, which enhances system security by isolating applications from each other and from the core system.
  • Ease of Use
    Snapcraft simplifies the build and deploy process with easy-to-use commands and a streamlined workflow for creating snaps.
  • Deployment Channel Flexibility
    Developers can release their software in multiple channels (stable, candidate, beta, edge) to manage different stages of the software lifecycle and gather user feedback.

Possible disadvantages of Snapcraft

  • Storage and Memory Overhead
    Snaps can consume more disk space and memory compared to traditional package formats, as they bundle all dependencies with the application.
  • Slower Startup Times
    Snap applications may have slower startup times compared to native packages because of the additional layers of isolation and dependency checks.
  • Limited Control
    Developers might have less control over certain aspects of their application running within the snap environment, compared to traditional Linux packaging methods.
  • Compatibility Issues
    Although snaps aim for universal compatibility, there can still be issues with certain applications not working as expected on every Linux distribution.
  • Community Resistance
    Some segments of the Linux community are resistant to adopting snaps, preferring traditional package managers and viewing snaps as unnecessary or problematic.

pkgsrc features and specs

  • Cross-Platform Support
    pkgsrc is designed to be a portable package management system and can be used on a variety of Unix-like operating systems, including NetBSD, Solaris, Linux, and macOS. This cross-platform capability makes it a versatile tool for developers working in diverse environments.
  • Consistency Across Systems
    Using pkgsrc allows for a consistent package management experience regardless of the underlying operating system, reducing the learning curve and maintenance overhead for administrators managing multiple systems.
  • Comprehensive Package Collection
    pkgsrc offers a wide range of software packages, providing a robust collection that can meet diverse user needs from scientific libraries to web applications.
  • Quarterly Releases
    With quarterly releases, pkgsrc provides a balanced approach between stability and keeping software up to date, offering users new features regularly while maintaining reliability.
  • Flexible Build Options
    pkgsrc supports a flexible build system, allowing users to customize package builds with specific options or dependencies, tailored to their specific needs or system requirements.

Possible disadvantages of pkgsrc

  • Smaller Community
    Compared to other popular package management systems like apt (Debian/Ubuntu) or yum (RedHat/CentOS), pkgsrc has a relatively smaller community, which might affect the availability of support and community-driven improvements.
  • Potentially Older Software
    While pkgsrc maintains stable quarterly releases, it may occasionally lag behind other systems in terms of offering the very latest versions of certain software, which might not be ideal for users needing the newest features.
  • Manual Configuration
    Setting up pkgsrc might require manual interventions and configurations, which could pose a hurdle for users unfamiliar with its setup process or those who prefer more automated solutions.
  • Dependency Management
    Although pkgsrc is quite capable in dependency handling, some users may find its dependency resolution to be less automatic or seamless compared to other systems which offer more integrated solutions.
  • Performance Overhead
    Because it is designed to be cross-platform, there can be some performance overhead associated with using pkgsrc compared to native package managers that are optimized for specific operating systems.

Analysis of Snapcraft

Overall verdict

  • Snapcraft is generally considered a good tool for both developers and end-users due to its ease of use, wide range of available applications, and the consistency it brings to software installation on Linux systems. However, some users may have concerns about the centralized nature of Snap store and potential performance overhead compared to native packages.

Why this product is good

  • Snapcraft is a popular application deployment and package management system for Linux users. It simplifies the distribution and installation of software across different Linux distributions by using the Snap package format. Snap packages are self-contained, which means they include all the dependencies needed to run, reducing compatibility issues. This makes it easier for developers to distribute their applications and for users to install and update software without worrying about dependency conflicts or missing libraries.

Recommended for

  • Linux users seeking an easy way to manage software installations and updates
  • Developers who want to distribute applications across multiple Linux distributions with minimal effort
  • Users who prioritize having the latest versions of applications, as Snapcraft often provides updates faster than traditional repositories

Snapcraft videos

Snaps and snapcraft.io explained in 3 minutes

More videos:

  • Review - SnapCraft Review
  • Review - ZombieV Game Review SnapCraft

pkgsrc videos

pkgsrc on ChromeOS

More videos:

  • Review - Using pkgsrc for multi-platform deployments in heterogeneous environments, G Clifford Williams

Category Popularity

0-100% (relative to Snapcraft and pkgsrc)
Front End Package Manager
Developer Tools
70 70%
30% 30
Package Manager
0 0%
100% 100
Windows Tools
100 100%
0% 0

User comments

Share your experience with using Snapcraft and pkgsrc. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Snapcraft should be more popular than pkgsrc. It has been mentiond 91 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Snapcraft mentions (91)

  • FMix: a package manager for Forth
    I do not recommend using earlier versions of GForth or the Snap version. Snap runs programs in a confined environment, so the current directory and paths may not match what the shell session expects. This breaks commands like new and packages.get. - Source: dev.to / 2 months ago
  • Keep Porkbun DNS Records Updated Automatically with Your Current IP
    Extremely easy to deploy either just downloading the binary and starting it as a service or using Docker or snap with more options coming in the future. - Source: dev.to / about 1 year ago
  • Office is too slow, so Microsoft is making it load at Windows startup
    Electron is horrid, but as a user, I prefer bloated "apps" to no support at all. As for your second point: [1] 1: https://snapcraft.io/. - Source: Hacker News / about 1 year ago
  • Operating System Wars, what is the best operating system for programming. โš”๏ธ
    Back in the day, I used snapd, which is similar to Mac's Homebrew. - Source: dev.to / about 2 years ago
  • Tools for Linux Distro Hoppers
    Hopping from one distro to another with a different package manager might require some time to adapt. Using a package manager that can be installed on most distro is one way to help you get to work faster. Flatpak is one of them; other alternative are Snap, Nix or Homebrew. Flatpak is a good starter, and if you have a bunch of free time, I suggest trying Nix. - Source: dev.to / over 2 years ago
View more

pkgsrc mentions (11)

  • Debian isn't waiting for 2038 to blow up, switches to 64-bit time for everything
    > Most open source software packages are also compiled for BSD variants, they switched to 64 bit time_t a long time ago and reported back upstream any problems. * NetBSD in 2012: https://www.netbsd.org/releases/formal-6/NetBSD-6.0.html * OpenBSD in 2014: http://www.openbsd.org/55.html For packaging, NetBSD uses their (multi-platform) Pkgsrc, which has 29,000 packages, which probably covers a large swath of... - Source: Hacker News / 12 months ago
  • Our Audit of Homebrew
    > https://pkgsrc.smartos.org/install-on-macos/ Note that Pkgsrc is a NetBSD-derived project. * https://pkgsrc.org The Joyent folks leveraged it to allow their customers, who were perhaps not as familiar with Solaris/SmartOS, a larger pool of packages. Pkgsrc was running on Solaris before Joyent, Joyent built on top of it. - Source: Hacker News / almost 2 years ago
  • Show HN: Brioche โ€“ A new Nix-like package manager
    Https://pkgsrc.org/ from netbsd runs on many systems. - Source: Hacker News / about 2 years ago
  • Installing packages without an internet connection?
    It seems according to pkgsrc.org that pkgin might follow the PKG_PATH environment variable. You're supposed to set PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/", and according to uname(1), -p gives the processor architecture and -r gives the operating system [kernel] release. Source: over 3 years ago
  • pkgsrc.se is no more :(
    It seems like pkgsrc.org hasnโ€™t got the news yet. Source: over 3 years ago
View more

What are some alternatives?

When comparing Snapcraft and pkgsrc, you can also consider the following products

Flatpak - Flatpak is the new framework for desktop applications on Linux

Conda - Binary package manager with support for environments.

FLATHUB - Apps for Linux, right here

Homebrew - The missing package manager for macOS

Yay - Yay is an AUR helper written in go, based on the design of yaourt, apacman and pacaur.

AppImageKit - Linux apps that run anywhere