that's something I would like to know as well.
If it gives any output you have that program installed. If it simply comes back to the prompt without any output, you don't have that program installed.Code:which program-name
orCode:aptitude show <package>
orCode:aptitude show <package> | grep State
(i = installed)Code:aptitude search <package>
This might help you,
Old thread closed.