List installed packages in channel

mjs picture mjs · Oct 10, 2010 · Viewed 7.7k times · Source

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.

Answer

bradym picture bradym · Oct 10, 2010
pear list -c bar