You are not logged in.

#1 2007-03-13 12:32:21

stb
Member
Registered: 2007-03-13
Posts: 40

Display packages from category X, repository Y on commandline

Yesterday I set up my first arch system. After fiddling around with the boot disks I managed to install via PXE. After I had it working there were no problems with the installation at all. I installed only the base system as suggested by the installer. Now the question: How can I display the packages from category X, repository Y on commandline, for instance all Editors in repository Current.

The command

pacman -S -g

only shows a subset, like xfce4, gimp. Or do I misunderstand anything?

Cheers

Dennis

EDIT

Because of confusion I edited my question to make it clearer what I like to do.

Last edited by stb (2007-03-13 21:25:05)

Offline

#2 2007-03-13 13:59:59

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Display packages from category X, repository Y on commandline

1st of the current repo is base.

Edit /etc/pacman.conf

I wouldn't enable testing unless your willing to break your system and know how to repair it.

In there you can find current, extra, unstable, and community.

If you want to use unsupported (AUR) then you need to use makepkg or something like yaourt which is a nice pacman wrapper with unsupported repo support built in.

Offline

#3 2007-03-13 21:18:13

stb
Member
Registered: 2007-03-13
Posts: 40

Re: Display packages from category X, repository Y on commandline

Meh. I should have made myself clearer. What I want is: Displaying the packages in a specific category on commandline. I thought this is what pacman's group commands are for. Example: Display all packages from Category=Editors in Repository=Current. Maybe it is easy but I can't see how.

Offline

#4 2007-03-13 21:39:02

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Display packages from category X, repository Y on commandline

There are no real categories in the repository.. just repositories.

To search for keywords on packages, use

$ pacman -Ss searchterm

for example..

$ pacman -Ss term

would bring up things like aterm, rxvt, gnome-terminal..etc.

the groups (-g) are for installing collections of packages. think of the things in -g as meta-packages...

Like installing all of gnome in one command..

$ pacman -Sg

What is in the gnome meta package?

$ pacman -Sg gnome
gnome
    control-center epiphany gnome-applets gnome-backgrounds gnome-common
    gnome-desktop gnome-icon-theme gnome-media gnome-mime-data gnome-mount
    gnome-panel gnome-session gnome-themes gnome2-user-docs metacity nautilus
    yelp

oh look..gnome..i want that...

$ pacman -S gnome

"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2007-03-13 23:33:28

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: Display packages from category X, repository Y on commandline

Here is the functionality you are looking for (probably smile )

http://www.archlinux.org/packages/searc … ast_update

Pacman itself doesn't have categories as far as i know.

Offline

#6 2007-03-14 09:54:05

stb
Member
Registered: 2007-03-13
Posts: 40

Re: Display packages from category X, repository Y on commandline

There are no real categories in the repository.. just repositories.

Ok, I thought so. Categories come in handy when searching for something you can't find a precise enough expression for. And because they are listed on the webpage I thought they must have an expression within pacman.

Here is the functionality you are looking for

Of course I did find the package query on the webpage before smile. But thanks anyway.

Offline

Board footer

Powered by FluxBB