Traditional distros were born in the 'single physical server' era, prioritizing flexibility over reproducibility; NixOS emerged in the 'cloud-native' era with 'system-as-code' at its core.
this post was submitted on 13 Jun 2025
13 points (78.3% liked)
Linux
3258 readers
31 users here now
Shit, just linux.
Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts
founded 2 years ago
MODERATORS
If you only want a text file with installed packages, a simple
sudo apt list > packages.txt
Should work. Using this file, it is possible to reinstall all packages as
sudo apt install $(cat packages.txt)
If you just want to have the list of packages saved in a text file and use that file for apt/dnf/... you could just
sudo dnf install $(< list.txt)
In Slackware, just do an "ls /var/log/packages/*" and your are done.