You are not logged in.

#1 2009-10-09 18:04:44

StanIsTheMan
Member
Registered: 2009-09-18
Posts: 38

Creating Pacman groups

I am new with Arch .... And I have a set of PKBUILD's, and  I would like to create a custom group....  So when I build the packages, I would like to be able to install all of them as a group. I must be missing a wiki page, or overlooked something....

Offline

#2 2009-10-09 18:18:56

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Creating Pacman groups

You just need to set the "groups" array in the PKGBUILDs. The group is "created" as soon as a package is installed that uses it, that's all there is to it. A package group isn't a real object that exists outside of its members.

Offline

#3 2009-10-09 18:28:01

StanIsTheMan
Member
Registered: 2009-09-18
Posts: 38

Re: Creating Pacman groups

So ... if I   "pacman -U" my package, will it pull all of the others within the group..? ... Is it dynamic this way...? Do all of my packages need to be in the same directory...?

Offline

#4 2009-10-09 19:22:36

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: Creating Pacman groups

man pacman wrote:

-S, --sync
[snip]
In addition to packages, groups can be specified as well. For example, if gnome is a defined package group, then pacman -S gnome will install every package in the gnome group, as well as the dependencies of those packages.

I think you may want to set up a local repo.

Offline

#5 2009-10-09 21:18:52

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Creating Pacman groups

Garns is right, package groups are not useful for installing packages unless they are in a repo.

Offline

#6 2009-10-09 21:33:43

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Creating Pacman groups

But Garns is always right ! smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2009-10-09 22:37:12

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: Creating Pacman groups

shining wrote:

But Garns is always right ! smile

How the ... did you get that impression? cool

Would be nice if it was true smile.

PS: If I am always right, what will happen when I say that I am not always right?

Offline

#8 2009-10-10 03:20:18

StanIsTheMan
Member
Registered: 2009-09-18
Posts: 38

Re: Creating Pacman groups

Thanks ... I'll look into the local repo.  I was suspecting something like this, but wasn't sure.

Offline

Board footer

Powered by FluxBB