On Tue, Dec 2, 2008 at 10:02 AM, Michael Clark <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 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
>
> machine b:
>  dpkg --set-selections < package.list
>  apt-get dselect-upgrade
>
> How do I do this with yum?

How about this?

machine a:
 rpm -qa > package.list

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

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

Reply via email to