You are not logged in.

#1 2009-06-12 05:59:08

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

[SOLVED]How do I know the commands that a package provides?

It's a thing that has confused me quite for a while.
Right now I found that Linux does not mount audio CDs. Then following some suggestions, I did '$ pacman -S rubyripper'. Then I was typing at the command line 'rubyripper' and found it not the command for it. So I googled a bit and found at some corner of the forum that the command should be 'rrip_cli'. But how come, shouldn't I get right in the first place when the package is installed? '$ man rubyripper' -- no manpage ; '$ pacman -Qi' -- also doesn't mention a thing about the actual command.

So here's the newbie question:
How do I know the actual commands that a package provides?

Last edited by lolilolicon (2009-06-13 15:53:19)


This silver ladybug at line 28...

Offline

#2 2009-06-12 06:01:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED]How do I know the commands that a package provides?

pacman -Ql <package>

Offline

#3 2009-06-12 06:03:44

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED]How do I know the commands that a package provides?

Allan wrote:
pacman -Ql <package>

OO! Thanks a bunch:D


This silver ladybug at line 28...

Offline

#4 2009-06-12 06:06:34

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED]How do I know the commands that a package provides?

@Allan
By the way, do you know a way to 'mount' an audio CDs? I mean, make it automatically appear in pcmanfm (or manually, that's fine), then you can open it in folders and you see individual files, just like a normal data CD? Thanks in advance.:-)


This silver ladybug at line 28...

Offline

#5 2009-06-12 10:08:59

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: [SOLVED]How do I know the commands that a package provides?

pacman -Ql <package> | grep bin

To limit the output to the executable parts fo a package.*

* Works in 99.9% of cases unless the package puts executables in a strange location :s

Last edited by fukawi2 (2009-06-12 10:09:16)

Offline

#6 2009-06-12 12:22:24

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED]How do I know the commands that a package provides?

lolilolicon wrote:

@Allan
By the way, do you know a way to 'mount' an audio CDs? I mean, make it automatically appear in pcmanfm (or manually, that's fine), then you can open it in folders and you see individual files, just like a normal data CD? Thanks in advance.:-)

Audio CD's cant be "mounted". However you can use a FUSE based  FS filesystem to make them 'appear' mounted.

A quick search on the AUR gives me this: http://aur.archlinux.org/packages.php?ID=25990 but there may be more.

Offline

#7 2009-06-13 14:53:30

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED]How do I know the commands that a package provides?

Cool


This silver ladybug at line 28...

Offline

#8 2009-06-13 15:46:57

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [SOLVED]How do I know the commands that a package provides?

This thread has some nifty ways to find the executable.

Last edited by Ranguvar (2009-06-13 15:47:16)

Offline

#9 2009-06-13 15:56:21

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED]How do I know the commands that a package provides?

That's helpful, thanks!


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB