You are not logged in.

#1 2023-10-12 14:38:03

mettacrawler
Member
Registered: 2020-09-26
Posts: 26

How to list all existent package groups? [SOLVED]

Hello to you,

Aside from scraping the web page that has the list of package groups is there any way to list all package groups that exist?  I mean how to do this using a cli without using curl or wget, etc to retrieve the contents of https://archlinux.org/groups/ and parse that.

Thanks

Last edited by mettacrawler (2023-10-12 23:53:31)

Offline

#2 2023-10-12 14:49:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: How to list all existent package groups? [SOLVED]

man pacman wrote:
SYNC OPTIONS (APPLY TO -S)
[...]
       -g, --groups
           Display all the members for each package group specified. If no group names are provided, all groups will
           be listed; pass the flag twice to view all groups and their members.

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

#3 2023-10-12 14:50:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: How to list all existent package groups? [SOLVED]

pacman -Sg

https://archlinux.org/pacman/pacman.8.h … _a_id_so_a

man pacman wrote:

-g, --groups

    Display all the members for each package group specified. If no group names are provided, all groups will be listed; pass the flag twice to view all groups and their members.

Edit: NoooooooOooOooO sad

Last edited by V1del (2023-10-12 14:51:13)

Offline

Board footer

Powered by FluxBB