Eugene Teo wrote:
Hi Michael,

Got you some answers from my colleagues:

I have a yum question that is probably very basic for a lot of the
fedora/centos users out there. How do I clone all of the installed
packages from one machine to another. e.g. on debian I would do this:

machine a:
 dpkg --get-selections > package.list

yum-debug-dump in yum-utils.

machine b:
 dpkg --set-selections < package.list
 apt-get dselect-upgrade

For restore, there is:

http://people.redhat.com/jantill/yum/commands/yum-debug-restore.py

...which atm. will spit out something you can feed to "yum shell".

By Fedora-11, we'll probably have something usable.

Thanks, Eugene

Thanks Eugene!

I have ended up using the following (I was just running it when I received your mail):

machine A:
   yum list installed  | awk '{ print $1; }' > package.list

machine B:
  yum install $(<package.list)

Michael.


_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to