Clever Geek Handbook
📜 ⬆️ ⬇️

Nix package manager

Nix package manager is a cross-platform package management system . Unlike traditional package managers, the Nix package manager uses a functional implementation model in which software is installed in directories created through cryptographic hashes . Dependencies on each software are included in each hash, solving the problem of Dependency hell [2] . This new approach to package management promises to create more reliable and portable packages [3] [4] .

Nix package manager
Type ofPackage manager
Written onC ++
Hardware platformLinux , Unix-like OS
Latest version2.0 [1] ( February 23, 2018 )
LicenseLGPL
Sitenixos.org/nix

The packages installed by Nix are defined using functional programming , which includes “ lazy computing, ” specifically designed for package management. Dependencies are tracked directly with this programming using special values ​​called “derivations”. Nix automatically monitors these points, so installed packages can be cleaned and removed by garbage collection when no other package depends on them. Due to the large storage requirements, all updates on Nix are guaranteed to be both atomic and efficient. It also allows multiple users to safely install software on the same system without administrator privileges.

Nix package manager has full Linux support, and can be installed safely with an existing package manager. macOS is also officially supported.

Content

NixOS

NixOS [5] is a Linux distribution that uses the Nix package manager for every piece of software on the system, including the Linux kernel [6] .

See also

  • GNU Guix

Notes

  1. ↑ Release 2.0NixOS / nixGitHub
  2. ↑ Nix fixes dependency hell on all Linux distributions | Linux.com | The source of Linux information
  3. ↑ https://nixos.org/~eelco/pubs/nspfssd-lisa2004-final.pdf
  4. ↑ https://nixos.org/~eelco/pubs/phd-thesis.pdf
  5. ↑ NixOS Linux
  6. ↑ https://nixos.org/~eelco/pubs/nixos-icfp2008-final.pdf

Links

  • nixos.org/nix - official Nix package manager website
  • Comparison of Zero Install and Nix systems .
  • Criticism of the Debian Developer (2008).
  • Introduction: Purely Functional Configuration Management with Nix and NixOS .
Source - https://ru.wikipedia.org/w/index.php?title=Nix_package_manager&oldid=93790561


More articles:

  • Baranovskaya, Agnieszka
  • Willisen, Carl Wilhelm von
  • Baboshkin (farm)
  • Suaya Scander
  • FIFA World Cup 2006 (qualifying tournament, UEFA group 1)
  • Truck
  • Rapid (football club, Vienna)
  • DPR national football team
  • Tunkinsky Buryats
  • Levy, Gershom

All articles

Clever Geek | 2019