cloud_monk_s_package_manager_book

Cloud Monk's Package Manager Book (December 2024)

The Cloud Monk, Losang Jinpa, is now focused writing until end of December 2025 on his polyglot programmer compendium - concordance books Cloud Monk's Package Manager Book and DevOps for 20 Languages by Cloud Monk (with a particular focus on Cloud Native DevSecOps and Web API Security) to be published on GitHub and this Wiki. (navbar_devops_book - navbar_devops_focus

DevOps Focus: Cloud Monk is focused on “All Things DevOps”: DevOps Topics, Kubernetes DevOps Topics, Cloud Native DevOps Topics, Azure DevOps Topics, AWS DevOps Topics, GCP DevOps Topics, Python DevOps Topics, Java DevOps Topics, JavaScript DevOps Topics, Golang DevOps Topics, Linux DevOps Topics, PowerShell DevOps Topics, Windows DevOps Topics, SQL Server DevOps Topics. (navbar_devops_focus)

DevOps is the union of DevOps people | people, DevOps process | process, and DevOps products | products to enable DevOps and continuous delivery | continuous delivery of DevOps value | value to our end users.” – Donovan Brown of Microsoft DevOps | Microsoft

DevOps Package Management Continuous Deployment Focus

Bibliography

Outline

NOTE: One of the most important responsibilities of a programmer is dependency management to avoid the technical debt of dependency hell.

  • C: Nix Package Manager: Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. It provides atomic upgrades and rollbacks, side-by-side installation of multiple versions of a package, multi-user package management and easy setup of build environments;
  • C: Pacman (Arch Linux) | Pacman: Used in Arch Linux, Frugalware and DeLi Linux. Its binary package format is a zstd-compressed tar archive (file extension:
    .pkg.tar.zst

    ) built using the makepkg utility (which comes bundled with pacman) and a specialized type of shell script called a PKGBUILD;

  • C: Flatpak: A containerized/sandboxed packaging format previously known as xdg-app;

Short description: This is a list of notable software package management systems, categorized first by package format (binary package format, source code package format, hybrid package format) and then by operating system family.

Binary packages

The following package management systems distribute apps in binary (Binary (software)) package (package management system) | package form; i.e., all apps are Compiler | compiled and ready to be installed and use.

Unix-like

Linux

  • Package management | Entropy: Used by and created for Sabayon Linux. It works with binary packages that are bzip2-compressed tar archives (file extension:
    .tbz2

    ), that are created using Entropy itself, from tbz2 binaries produced by Portage (software) | Portage: From ebuilds, a type of specialized shell script;

  • Flatpak: A containerized/sandboxed packaging format previously known as xdg-app;
  • GNU Guix: Used by the GNU System. It is based on the Nix package manager with Guile Scheme APIs and specializes in providing exclusively free software;
  • ipkg: A dpkg-inspired, very lightweight system targeted at storage-constrained Linux systems such as embedded devices and handheld computers. Used on webOS | HP's webOS;
  • Nix Package Manager: Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. It provides atomic upgrades and rollbacks, side-by-side installation of multiple versions of a package, multi-user package management and easy setup of build environments;
  • opkg: Fork of ipkg lightweight package management intended for use on embedded Linux devices;
  • Pacman (Arch Linux) | Pacman: Used in Arch Linux, Frugalware and DeLi Linux. Its binary package format is a zstd-compressed tar archive (file extension:
    .pkg.tar.zst

    ) built using the makepkg utility (which comes bundled with pacman) and a specialized type of shell script called a PKGBUILD;

  • PISI: Pisi stands for “Packages Installed Successfully as Intended”. Pisi package manager is used by Pisi Linux.<ref>

    </ref> Pardus (operating system) | Pardus used to use Pisi, but migrated to APT in 2013;<ref>

    </ref>

  • pkgsrc: A cross-platform package manager, with binary packages provided for Enterprise Linux, macOS and SmartOS by Joyent and other vendors;
  • slapt-get: Which is used by Slackware and works with a binary package format that is essentially a xz-compressed tar archive with the file extension
    .txz;

Android

  • Aptoide: application for installing mobile applications which runs on the Android operating system. In Aptoide there is not a unique and centralized store; instead, each user manages their own store.
  • GetJar: An independent mobile phone app store founded in Lithuania in 2004;

macOS (OS X)

BSD

  • pkgsrc: A cross-platform package manager, with regular binary packages provided for NetBSD, Linux and macOS by multiple vendors;
  • TrueOS | PC-BSD: Up to and including version 8.2<ref>pbiDIR</ref> uses files with the .pbi (Push Button Installer) filename extension which, when double-clicked, bring up an installation wizard program. Each PBI is self-contained and uses de-duplicated private dependencies to avoid version conflicts. An autobuild system tracks the FreeBSD ports collection and generates new PBIs daily. PC-BSD also uses the FreeBSD pkg binary package system; new packages are built approximately every two weeks from both a stable and rolling release branch of the FreeBSD ports tree.

Solaris, illumos

iOS

Windows

IBM z/OS on IBM z/Mainframes

Source Code-Based Package Managers

The following package management systems distribute the source code of their apps. Either the user must know how to compile the packages, or they come with a script that automates the compilation process. For example, in GoboLinux a recipe file contains information on how to download, unpack, compile and install a package using its .22Compile.22 program | Compile tool. In both cases, the user must provide the computing power and time needed to compile the app, and is legally responsible for the consequences of compiling the package.

  • Arch Build System | ABS is used by Arch Linux to automate binary packages building from source or even other binary archives, with automatic download and dependency checking;

macOS (OS X){{anchor]] | [[macOS 2}}{{anchor]] | [[OS X 2}}

  • pkgsrc can be used to install software directly from source-code, or to use the binary packages provided by several independent vendors.

Windows

Hybrid systems

  • Portage (software) | Portage and Emerge | emerge are used by Gentoo Linux, Funtoo Linux, and Sabayon Linux. It is inspired by the Pkgsrc | BSD ports system and uses text based “ebuilds” to automatically download, customize, build, and update packages from source code. It has automatic dependency checking and allows multiple versions of a software package to be installed into different “slots” on the same system. Portage also employs “use flags” to allow the user to fully customize a software build to suit the needs of their platform in an automated fashion. While source code distribution and customization is the preferred methodology, some larger packages that would take many hours to compile on a typical desktop computer are also offered as pre-compiled binaries in order to ease installation;
  • NetBSD's pkgsrc works on several Unix-like operating systems, with regular binary packages for macOS and Linux provided by multiple independent vendors;

Meta package managers

The following unify package management for several or all Linux and sometimes Unix variants. These, too, are based on the concept of a recipe file.

  • AppImage (previously klik and PortableLinuxApps) aims to provide an easy way to get software packages for most major distributions without the dependency problems so common in many other package formats.
  • Autopackage uses
    .package

    files.

  • Zero Install installs each package into its own directory and uses environment variables to let each program find its libraries. Package and dependency information is downloaded directly from the software authors' pages in an XML format, similar to an RSS feed.
  • PackageKit is a set of utilities and libraries for creating applications that can manage packages across multiple package managers using back-ends to call the correct program.

Game package managers

Package management systems geared toward developing and distributing video games.

Proprietary software systems

A wide variety of package management systems are in common use today by proprietary software operating systems, handling the installation of both proprietary and free packages.

Application-level package managers

See also

A

C

D

L

P

S

U

Y

Categories: Operating system technologySoftware distributionInstallation softwareManagement systems Hidden categories: Commons category link is on Wikidata

cloud_monk_s_package_manager_book.txt · Last modified: 2025/02/01 07:09 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki