你如何强制 PEAR 自动下载 alpha/beta 依赖项?

你如何强制 PEAR 自动下载 alpha/beta 依赖项?

问题描述:

从 PEAR 安装包时,如果包处于 alpha 或 beta 模式,您可以在包名后添加后缀以安装相应的版本;例如,运行

When installing a package from PEAR, if the package is in alpha or beta mode, you can add a suffix to the package name to install the appropriate version; for example, running

sudo pear install openid

失败,但是

sudo pear install openid-alpha

有效.

但是依赖关系呢?在上面的示例中,PEAR 中的 OpenID 依赖于 4 个其他也在 alpha/beta 中的包.

But how about dependencies? In the example above, the OpenID in PEAR depends on 4 other packages that are also in alpha/beta.

有没有办法让 PEAR 加载 alpha/beta 依赖项而无需手动安装每个依赖项?

Is there a way to make PEAR load the alpha/beta dependencies without manually installing each one?

pear config-set preferred_state alpha