Skip to content

Linux Package Managers

November 13, 2023
May 10, 2017

Cross platform Linux package manager

List of software package management systems - Wikiwand
So you want to write a package manager | by sam boyer | Medium

asdf - An extendable version manager

What to Expect (and Not Expect) from Linux Universal Packages - The New Stack !important
Modern Package Formats » ADMIN Magazine
Linux Package Managers Compared - AppImage vs Snap vs Flatpak

Flatpak vs Snaps vs Appimage vs Packages - Linux packaging formats compared - YouTube
What are the differences between snaps, appimage, flatpak and others? - Ask Ubuntu
A technical comparison between the snap and the Flatpak formats
Flatpak vs Snaps vs Appimage vs Packages - Linux packaging formats compared - YouTube
FLATPAK is the FUTURE of LINUX application distribution - YouTube

Subuser - Portability, Security, Maintainability using Docker Container
Subuser uses Docker containers to deliver desktop apps for Linux | InfoWorld

Orbital Apps - A New generation of Linux Apps
AppStream
ximion/appstream: Tools and libraries to work with AppStream metadata

Repology: all metapackages

Arsen6331/lure - lure - Gitea: Git with a cup of tea Linux User REpository

vinifmor/bauh: Graphical user interface for managing your Linux applications. Supports AppImage, Arch (repositories/AUR), Flatpak, Snap and native Web applications.
Manage AppImages, AUR, Flatpaks And Snaps With Bauh - OSTechNix
Bauh - Manage Snaps, Flatpaks and AppImages from One Interface - It's FOSS

There is a distro dependent package format, then there is the native manager, then there is a frontend for the manager.

pacman (Arch)
apk (Alphine)
apt (Debian)
yum (RHEL, Fedora <22, CentOS)
dnf (Fedora 22+)

Category:Linux package management-related software - Wikiwand
Category:Free package management systems - Wikiwand

Snap

sandboxed image

snap: command reference - Snaps are universal Linux packages Shared runtimes between each applications.
snapcore/snapd: The snapd and snap tools enable systems to work with .snap files.
snapcore/snapcraft: Snapcraft is a delightful packaging tool
Snap - ArchWiki

FOSDEM 2019 - Good Will Snapping

uApp Explorer

Use the snap command - Snaps are universal Linux packages
Basic snap usage | Ubuntu tutorials
Advanced snap usage | Ubuntu tutorials

snapcraft - Snaps are universal Linux packages
Snap a python application | Ubuntu tutorials
Snap – I’ve got the package! | OCS-Mag
Get started with Snapcraft - YouTube

"cannot locate core snap" error - snapd - snapcraft.io

cannot mount squashfs image using “squashfs”:

mkdir /tmp/foo && echo bar > /tmp/foo/bar
mksquashfs /tmp/foo /tmp/foo.img -all-root
mkdir /tmp/foo-mount-point
sudo mount -t squashfs /tmp/foo.img /tmp/foo-mount-point

Flatpak

sandboxed image

Flatpak - the future of application distribution
Flatpak has been around the longest and the most mature. Uses OSTree. No shared runtimes between each applications.
Uses portals for desktop integration.
Flatpak - ArchWiki
Welcome to Flatpak’s documentation! — Flatpak documentation

Flatpak Is Not the Future
On Flatpak disk usage and deduplication – Will Thompson and the Blog of Atlantis

Flathub - An app store and build service for Linux
Using Flatpak on Ubuntu and Other Linux [Complete Guide] | It's FOSS
Explore Flatpak in Fedora 24 - Fedora Magazine

sudo pacman -S flatpak
# add repo
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# install app
flatpak install <remote_repository> <application_id>
flatpak install flathub org.libreoffice.LibreOffice

# from flatpakref
flatpak install --from https://flathub.org/repo/appstream/com.spotify.Client.flatpakref
flatpak install <path_of_flatpakref_file>

flatpak list
flatpak run <package-name>
flatpak uninstall <application_id>
flatpak update

Maintaining a flatpak repository – Alexander Larsson
Flatseal—Linux Apps on Flathub

Hello World
flatpak-bundler
electron-installer-flatpak

AppImage

includes system libraries

AppImage | Linux apps that run anywhere
App as executable image without the need to install.

AppImages · AppImage/AppImageKit Wiki catalog and their source
Dashboard [Jenkins] catalog, source

Creating AppImages · AppImage/AppImageKit Wiki
AppImages/recipes at master · AppImage/AppImages

probonopd/linuxdeployqt: Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications

PKGBUILD - aur.git - AUR Package Repositories extract app image

OSTree

OSTree is git for bootable filesystem trees.

OSTree
OSTree Manual
The Fundamentals of OSTree | Sam Thursfield's Blog

Nix

cross platform package manager

Welcome to nix.dev An opinionated guide for developers getting things done using the Nix ecosystem.

NixOS - Nix Pills
NixOS - Nix manual
The Nix Packages collection
tweag/trustix: Trustix: Distributed trust and reproducibility tracking for binary caches

Nix: The Purely Functional Package Manager
I was WRONG! This is the BEST Package Manager. - YouTube
Nix Package Manager

nmattia/niv: Easy dependency management for Nix projects

So, tell me about Nix | Mattia Gheda
Quality of Life Scripts - NixOS Discourse
justinwoo/nix-shorts: A collection of short notes about Nix, down to what is immediately needed for users.

nix-community/home-manager: Manage a user environment using Nix [maintainer=@rycee]
Tutorial: Getting started with Home Manager for Nix | Mattia Gheda

Nix on Microsoft Windows 10 | Nathan Bijnens
Brand New Package » Linux Magazine

Thoughts about computer technologies: Cheap Docker images with Nix

sudo nixos-rebuild switch

Flake

replaces Channels, uses lockfile

NixOS 40: Converting an Existing NixOS Configuration To Flakes - YouTube
You Should Use Flakes Right Away in NixOS! - YouTube

nix.settings.experimental-features = [ "nix-command" "flakes" ]

sudo nixos-rebuild switch --flake .

librephoenix/nixos-config: Nix noob trying to build his system
Emmet / nixos-config · GitLab

On RPi

lucernae/nixos-pi: How to install NixOS on raspberry PI
NixOS on ARM/Raspberry Pi - NixOS Wiki
Installing NixOS on a Raspberry Pi — nix.dev documentation

GoFish

GoFish
fishworks/gofish: Keep your fish fresh!

Zero Install

Zero Install

webi (webinstall.dev)

without sudo or admin right
cross platform

webinstall.dev

Distri

distri: a Linux distribution to research fast package management
Delivery Service » Linux Magazine