You are not logged in.

#1 2008-02-22 05:05:06

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Packages to install over the base packages

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

#2 2008-02-22 05:51:04

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: Packages to install over the base packages

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

#3 2008-02-22 08:51:10

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Packages to install over the base packages

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

#4 2008-02-22 09:20:56

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Packages to install over the base packages

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

#5 2008-02-22 16:18:01

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Packages to install over the base packages

I will try it, thank you very much


Acer Aspire V5-573P Antergos KDE

Offline

#6 2008-02-23 17:22:50

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: Packages to install over the base packages

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

Board footer

Powered by FluxBB