Hi all, Is there a way to dump the current packages installed on a machine and use it do install/uninstall packages on other machines? I've configured one at install time but to speed up other installations I would like to install default packages and then install/uninstall some starting from my first machine configuration...
thanks
d
PS Oh, I'm going to RTFM too... but I'm new to CentOS and yum...
Davide Cittaro wrote:
Hi all, Is there a way to dump the current packages installed on a machine and use it do install/uninstall packages on other machines? I've configured one at install time but to speed up other installations I would like to install default packages and then install/uninstall some starting from my first machine configuration...
rpm -qa > foobar
scp foobar machine2:/var/tmp
ssh machine2
sudo yum install $(cat /var/tmp/foobar)
Ralph
On Nov 26, 2008, at 12:10 PM, Ralph Angenendt wrote:
rpm -qa > foobar
scp foobar machine2:/var/tmp
ssh machine2
sudo yum install $(cat /var/tmp/foobar)
Great! Thanks!
d
/* Davide Cittaro
Cogentech - Consortium for Genomic Technologies via adamello, 16 20139 Milano Italy
tel.: +39(02)574303007 e-mail: davide.cittaro@ifom-ieo-campus.it */
Davide Cittaro wrote on Wed, 26 Nov 2008 11:54:18 +0100:
Oh, I'm going to RTFM too... but I'm new to CentOS and yum...
I think you want to look into mirroring the CentOS repo locally and point your machines and new kickstart installations to it.
Kai