I know this is a well-known trick with the Debian package system, but I'm going to sum it up here. Suppose that you want to install the same set of packages on box A as box B. At box B, type the following command to get the list of installed packages.
dpkg --get-selections > select.txt
Then, take select.txt to box A and run on box A:
apt-get update
dpkg --set-selections < select.txt
apt-get -u dselect-upgrade
No comments:
Post a Comment