You are not logged in.

#1 2009-10-07 04:17:12

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Commands for new programs.

I've never been able to figure this out. Say I use Yaourt to download glade.

Well for yaourt it's just

yaourt -S glade

Now when I go to call glade from a terminal it doesn't exist. So here is my question.

Is there anyway to tell what the command to call a program is or is there anyway to search for it?

Offline

#2 2009-10-07 04:31:27

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: Commands for new programs.

This should do it:

pacman -Ql <package> | grep bin/.

In the case of glade, you might also just

gla<tab>

Last edited by hbekel (2009-10-07 04:34:53)

Offline

#3 2009-10-07 04:33:04

antenna
Member
From: Australia
Registered: 2006-10-14
Posts: 30

Re: Commands for new programs.

You can do

pacman -Ql packagename

This shows you all the files the package installed, it's fairly easy to tell the executables from there based on install location.

Offline

#4 2009-10-07 05:00:22

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Commands for new programs.

You could also try "which glade" or "locate glade".


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2009-10-07 05:34:33

pseup
Member
Registered: 2008-06-06
Posts: 103

Re: Commands for new programs.

Also, using `rehash` in Zsh or `hash -f` (I think) in Bash will rebuild the hash tables and add your new program to the list so you can execute it without full paths.

Offline

#6 2009-10-07 09:41:06

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

Re: Commands for new programs.

Tab completion is your best friend .....

Offline

#7 2009-10-09 06:43:32

Godofgrunts
Member
Registered: 2008-11-14
Posts: 43

Re: Commands for new programs.

hbekel wrote:

This should do it:

pacman -Ql <package> | grep bin/.

In the case of glade, you might also just

gla<tab>

Ah thank you so much. This was the perfect solution.

Offline

Board footer

Powered by FluxBB