views:

18

answers:

1

With PHP's PEAR, how can I check whether package foo in channel bar is already installed? (Assuming that the channel bar is available, and has already been "discovered".) Something like pear list that displays installed packages in channel bar only would be ideal.

+2  A: 
pear list -c bar
bradym