[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installing packages from a list.



I have two machines that I would like to have the second one installed with the same list of packages as the first.

I know I can find out what is installed by running

 dpkg -l | grep ^ii | awk '{print $2}' > installed_list

But how can I use that list as a starting point to install the same packages onto another machine?

Is it:

       dpkg --set-selections < installed_list

or something else?



Reply to: