You are not logged in.
I have a dilemma that's kinda hard to search for on the archlinux forums.
I have an old archlinux install on computer #1, and now I have a new clean install on computer #2, is there any way for me to install all the packages computer #1 has on computer #2 with relative ease? Doing it manually would take forever.
Last edited by Blasting (2010-12-01 04:23:03)
Offline
# comp 1
pacman -Qqe > installed.txt
# comp 2
pacman -S $(cat installed.txt)
Not the -Qe lists only "explicitly installed" packages. That way, dependencies stay installed as dependencies.
Copy all the files from /var/cache/pacman/pkg from comp 1 to comp 2 to prevent having to download them again.
Offline
To add to Allan's response, if you have packages that you installed from the AUR or otherwise aren't in the repositories you can find these with pacman -Qemq >aur_pkg.txt and should remove those from the other file list.
Last edited by mcmillan (2010-12-01 03:18:03)
Offline
Worked like a charm, thanks alot!
Offline