With PHP's PEAR, how can I check whether package foo
in channel bar
is already ins开发者_StackOverflow社区talled? (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
精彩评论