by ISL · 8y ago · 0 comments
When I get a new Debian box, I just sudo apt-get install a list of my most-common programs and I'm off to the races.
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 installJust 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.