funkyade
April 1st, 2010, 09:15 PM
Hi folks,
I want to keep the same set of packages across several different machines, 2 32bit, and 2 64bit, from the same base install (currently 9.1). I'm not bothered about duplicating home folders etc, but in having the same apps/packages available on both platforms.
How would I go about exporting the list of installed packages from one machine (master) and then bringing that in to say aptitude (command line) so it reads the list and installs them on the others (slaves)? exporting the .deb filenames won't work as different architectures plus possible version mismatches at least...
workflow something like -
1. Export package list from master to txt file
2. import package list into aptitude on command-line
3. install stuff
this wouldn't work -
sudo aptitude -y install < packagelist.txt
maybe -
for (package in packagelist); sudo aptitude -y install (package); do
I assume a script would be easy enough to write, but how do I get the list in the first place?
I noticed there are some OEM features available in the alternate install, but am not sure I can mix 32bit and 64bit with this... or if I can do what I want...
Any suggestions appreciated... :)
I want to keep the same set of packages across several different machines, 2 32bit, and 2 64bit, from the same base install (currently 9.1). I'm not bothered about duplicating home folders etc, but in having the same apps/packages available on both platforms.
How would I go about exporting the list of installed packages from one machine (master) and then bringing that in to say aptitude (command line) so it reads the list and installs them on the others (slaves)? exporting the .deb filenames won't work as different architectures plus possible version mismatches at least...
workflow something like -
1. Export package list from master to txt file
2. import package list into aptitude on command-line
3. install stuff
this wouldn't work -
sudo aptitude -y install < packagelist.txt
maybe -
for (package in packagelist); sudo aptitude -y install (package); do
I assume a script would be easy enough to write, but how do I get the list in the first place?
I noticed there are some OEM features available in the alternate install, but am not sure I can mix 32bit and 64bit with this... or if I can do what I want...
Any suggestions appreciated... :)