3 ms·
Package names/dependencies change through releases, but you can kinda do what you want via dpkg. Export the packages: dpkg --get-selections > list.txt
by stevekemp 8y ago
Package names/dependencies change through releases, but you can kinda do what you want via dpkg.
Export the packages:
dpkg --get-selections > list.txt
Then install those same packages on a new box:
dpkg --set-selections < list.txt
apt-get -f install
- tonyarkles 8y agoOhhhhhhh that's pretty cool! Just looking through the list here though, that's going to dump out the list of all of the installed packages, not just the ones I've requested explicitly I think. That's the part that the App Store gets really right. I still want all of the dependencies for the packages that are getting installed, but a way shorter list of "these are the things you've explicitly asked for" It seems like that is actually inside Apt somewhere too... since it does keep track of packages to auto-remove when their reverse dependencies go away.