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.
pear list -c bar