I have a Fedora 17 system (A) where I have installed some packages over the time. Now I want to install Fedora 19 on another computer (B) and I want to install the same packages on it.
In Debian terms I want to accomplish something like this:
$ dpkg --get-selections > pkg_sel_host_a # on host_a $ dpkg --set-selections < pkg_sel_host_a # on host_b
But to be honest, I really want a better method to select the same packages on the new Fedora 19 system (B): I just want to install the packages from system A that were explicitly mentioned on a
yum install command line - and not those that were installed as dependencies!
Why? Because perhaps dependencies have changed - and I don't want to install outdated dependencies on the new system. Plus, when I remove packages I want to remove the (possibly) then unneeded automatically installed dependencies (i.e. orphans) as well.
yum list installed - but it does not display if a package was explicitly selected or just installed because of a dependency.
How do I get that information on Fedora?
What is the Fedora/yum way to replicate package selections?