I'm a little confused about the reasoning behind installing PEAR through CLI like this:
//shell
sudo apt-get install php-pear
AFAIK Pear is just PHP library - so - that's just bunch of PHP classes. So - if I need one - I just go to their website, download one, plug it into my php code - and that's it. - right? or so I think.
so - my questions are:
1) Why would I install PEAR through command line? What are the benefits over just downloading and ungzipping a package?
2) If installed through CLI - Where those packages are being installed? what dir?