You are not logged in.
Pages: 1
Topic closed
Hi,
I have a 32 bit Arch system. On this system I have installed almost all the packages that I require. Now, I want to install Arch64 on another system.
It would be difficult to install everything which is on the other system on the newer one.
I am sure there is some way to export the list of installed (and may be also removed) packages and then import the list on another system.
Debian has something like
dpkg --get-selections
and
dpkt --set-selections
regards,
Hardik
Offline
With pacman -Qq you see all the packages installed in the system.
Offline
thanks flamelab,
this addresses the first part of exporting the packages. What about importing ?
Offline
What do you mean ?
Offline
this has been asked/answered many times. it's on some pacman-related wiki if i remember.
# put all explicitly installed packages (minus AUR) into a file
# can be run as user
pacman -Qqe | grep -Fvx "$(pacman -Qqm)" > ./file
# reinstall from said file (deps will be pulled in automatically)
# must run as root
xargs pacman -S --needed --noconfirm < ./file
.
/edit: removed useless use of cat.
Last edited by brisbin33 (2010-04-01 19:55:05)
//github/
Offline
s/xargs// I believe should work
[git] | [AURpkgs] | [arch-games]
Offline
Thanks, I will give it a try
Offline
Also note, that if you have multilib support enabled on the exporting system, but do not have it enabled on the importing system, when you go to do the import, it will fail. So enable multilib support on the importing system first, if the exporting system had it enabled. https://wiki.archlinux.org/index.php/Multilib
Offline
Welcome to the Arch Linux forums, ob7.
Please take a moment to read through the forum etiquette: https://wiki.archlinux.org/index.php/Forum_etiquette
In particular, please do not "necrobump" old threads (this one is over five years old).
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed