Software Alternatives, Accelerators & Startups

Flatpak VS pkgsrc

Compare Flatpak VS pkgsrc and see what are their differences

Flatpak logo Flatpak

Flatpak is the new framework for desktop applications on Linux

pkgsrc logo pkgsrc

pkgsrc is a framework for building over 17,000 open source software packages.
  • Flatpak Landing page
    Landing page //
    2022-08-06
  • pkgsrc Landing page
    Landing page //
    2023-06-30

Flatpak features and specs

  • Cross-distribution support
    Flatpak applications can be installed on any Linux distribution, which helps in resolving compatibility issues.
  • Sandboxing
    Flatpak apps run in a sandbox, which isolates them from the system and other applications, thereby enhancing security.
  • Dependency management
    Flatpak handles dependencies internally, allowing different applications to use different versions of the same library without conflicts.
  • Bleeding-edge software
    Flatpak allows users to access the latest versions of applications, even if their Linux distribution's repository is not up-to-date.
  • Backward compatibility
    Flatpak apps can run on older systems because Flatpak includes the required runtime libraries.

Possible disadvantages of Flatpak

  • Disk space usage
    Flatpak applications may use more disk space because runtimes and libraries are bundled separately for each app.
  • Performance overhead
    The sandboxing and isolation can introduce a performance penalty compared to natively installed applications.
  • Limited integration
    Flatpak applications may not fully integrate with the host system, leading to inconsistencies in look and feel.
  • Update lag
    Flatpak uses a central repository for updates, which can sometimes result in delays in getting the latest versions of applications.
  • Learning curve
    New users might find it challenging to understand and use Flatpak, especially if they are accustomed to traditional package managers.

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 Flatpak

Overall verdict

  • Flatpak is generally regarded as a positive option for software distribution on Linux, particularly for those seeking a cross-distribution solution that ensures application stability and security.

Why this product is good

  • Flatpak is considered good due to its ability to provide application sandboxing, which enhances security by isolating applications from the rest of the system. It also ensures consistent behavior across different Linux distributions by packaging all dependencies with the applications. Furthermore, Flatpak enables easy updates and rollback of applications, making it convenient for both developers and users.

Recommended for

  • Users who want access to the latest software versions
  • Developers looking for a unified application distribution method
  • Users of multiple Linux distributions who want consistent application behavior
  • Those who prioritize security and isolation of applications.

Flatpak videos

How to Use Flatpak

More videos:

  • Review - [2018] LINUX - FLATPAK REVIEW and SETUP
  • Review - Matador FlatPak Toiletry Bottle Review | TSA Approved | Small Travel Container & Liquid Soap Holder

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 Flatpak and pkgsrc)
Front End Package Manager
Developer Tools
78 78%
22% 22
Package Manager
58 58%
42% 42
Windows Tools
100 100%
0% 0

User comments

Share your experience with using Flatpak 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, Flatpak should be more popular than pkgsrc. It has been mentiond 90 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.

Flatpak mentions (90)

  • My fully offline AI-assisted Linux development machine
    Docker, Distrobox, Flatpak, and a bit of Homebrew where it makes sense. - Source: dev.to / 2 months ago
  • OpenClaw isn't fooling me. I remember MS-DOS
    Https://flatpak.org/ does this on Linux and someone else already pointed out, MacOS does this with app store apps. I don't like handing control to Apple so I much prefer the FlatPak solution - you get very detailed and fine grained control over what each app can see and it works fairly seamlessly. It's still a bit technical - but not far from being user friendly even for a less tech savvy user. - Source: Hacker News / 3 months ago
  • Discovering Fedora: My First Days in an Open Source Community That Actually Lives Its Values
    Features Fedora leads. Others follow. Systemd? Fedora pioneered it. Wayland? Fedora adopted it early. Flatpak? Fedora helped develop it. - Source: dev.to / 4 months ago
  • The Holy Grail of Linux Binary Compatibility: Musl and Dlopen
    There are things like this. The things I know of and can think of off the top of my head are: 1. Appimage https://appimage.org/ 2. nix-bundle https://github.com/nix-community/nix-bundle 3. Guix via guix pack 4. A small collection of random small projects hardly anyone uses for docker to do this (i.e. https://github.com/NilsIrl/dockerc ) 5. A docker image (a package that runs everywhere, assuming a docker runtime... - Source: Hacker News / 6 months ago
  • 2026 will be my year of the Linux desktop
    GUI apps often come in Flatpak these days - which are sandboxed[1] like you are expecting. [1] https://docs.flatpak.org/en/latest/basic-concepts.html#sandboxes - https://flatpak.org/ - https://flathub.org/en. - Source: Hacker News / 7 months 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 Flatpak and pkgsrc, you can also consider the following products

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

Conda - Binary package manager with support for environments.

FLATHUB - Apps for Linux, right here

Homebrew - The missing package manager for macOS

AppImageKit - Linux apps that run anywhere

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