You are not logged in.
Pages: 1
I have a KDE MOD arch installation and I have installed lots of packages, my question is how can I find a list of packages which I can install over the base install so that I can get all the programs installed which I have now....
for example i want to install the base arch install and then do something like
pacman -Sy xorg firefox truecrypt etc etc..
Please advice, I have tried various pacman commands but iam unable to get what i need.
Thanks,
Acer Aspire V5-573P Antergos KDE
Offline
I found this in my notes:
backup solution - restore my system with the same packages installed
pacman -Q | awk '{ print $1 }' > pkglist
to store the names of all pkgs installed
then if you would like to install them all again you will just need to type
pacman -S `cat pkglist`
Offline
well this will install packages which are pulled as dependencies...iam looking for the minimum packages which will pull the rest as dependencies
Acer Aspire V5-573P Antergos KDE
Offline
For explicitly installed packages only, use:
pacman -Qe | cut -d' ' -f1 >pkglist
You have to bare in mind that foreigners (packages not in core/extra/community) will give you problems though...
To filter such packages out you could do:
pacman -Qm | cut -d' ' -f1 >foreigners
grep -vf foreigners pkglist >toinstall
Hope this helps!
Offline
I will try it, thank you very much
Acer Aspire V5-573P Antergos KDE
Offline
ok tried it and it worked now I have one more request out of the packages to be installed I want to split them according to core extra community ...is it possible
Thanks for all the help
Acer Aspire V5-573P Antergos KDE
Offline
Pages: 1