List installed packages in channel
Question
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.
Solution
pear list -c bar
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow