Re: pear manual needs more information on installing packages
| From: | Jeff MacDonald | Date: | Thu, 02 Aug 2007 21:40:27 +0000 |
| Subject: | Re: pear manual needs more information on installing packages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-27791@lists.php.net to get a copy of this message | ||
On Thursday 02 August 2007 3:14 pm, Jim Crapuchettes wrote:
> All,
>
> If I am sending this to the wrong list, I apologize for bothering all of
> you and ask that you would forward it to the correct list. Thank you.
>
AFAIK, pear-general is correct.
> My first request: Please add a chapter to the pear manual describing how to
> use pear to install or upgrade pear packages, with at least several
> examples. Assume that the user knows *nothing* about pear except how to
> execute from the command line.
>
I am +1 for improving documentation.
"pear upgrade foo" upgrades to latest stable version of package "foo"
"pear upgrade foo-beta" upgrades to latest beta version of package "foo"
no need for "PEAR::" prefix on the package name.
a "channel" is the PEAR name for a "repository" of software.
if a package has dependencies, you can use "pear install --onlyreqdeps foo" to
install "foo" and all of it's required dependencies, "pear
upgrade --onlyreqdeps foo" should upgrade "foo" and all of the required
dependencies. see "pear help install" and "pear help upgrade" for additional
options.
make sure you are using the latest version of the "PEAR" module with "pear
upgrade PEAR" before you install anything else.
regards,
--
Jeff MacDonald,
Zoid Technologies <http://zoidtechnologies.com/>
"Web Applications That Suck Less"