r/archlinux • • 24d ago

QUESTION Pacman on nixos

/r/NixOS/comments/1xt236e/pacman_on_nixos/
0 Upvotes

4 comments sorted by

6

u/TDplay 24d ago

You will find that many distributions allow you to install other distributions' package managers.

The main use-case is for installing other distributions into a container. For example, suppose I have a Debian system, and I want to install Arch Linux in a chroot. I can run

# apt install pacman-package-manager archlinux-keyring arch-install-scripts

and this saves me from having to reboot the host system into an Arch Linux ISO and go through mounting the filesystems, connecting to the network, etc.

4

u/Shishjakob 24d ago

Cool, a new Linux footgun to play around with!

1

u/Stalebread37905 23d ago

That's cool