the f*ck rants about stuff

Copy list of packages installed to another debian machine

In this day and age, reading debian forums, I still see $ dpkg --get-selections as the recommended way to copy the list of packages installed on one machine in order to install the same packages on another machine

This list misses vital information… such as which of those packages were automatically installed as dependence!!!

If you dont want to break your new installation so early on, use $ apt-mark showmanual instead for the list of packages. It will show only packages that you manually installed. You should get the rest as dependences


If you liked this, I think you might be interested in some of these related articles:

¡ En Español !