简体   繁体   English

从github安装梨包

[英]install pear packages from github

I have an old project that relies heavily on PEAR.我有一个严重依赖 PEAR 的旧项目。 I need to run the script that installs pear packages daily on a clean virtual machine.我需要每天在干净的虚拟机上运行安装 pear 包的脚本。 In other words, I have to install packages daily since it's a new vm everyday.换句话说,我必须每天安装软件包,因为它每天都是一个新的虚拟机。

Now that PEAR is down and there is no ETA, I can't instal from php.pear.net现在 PEAR 已关闭并且没有 ETA,我无法从 php.pear.net 安装

My question is how to install pear packages now that pear server is down.我的问题是现在梨服务器关闭了如何安装梨包。

Download the zip you need from https://github.com/pear/ for example: https://github.com/pear/Pager and then pear install package.xmlhttps://github.com/pear/下载你需要的 zip 例如: https : //github.com/pear/Pager然后 pear install package.xml

Unfortunately, this is a terrible solution and it remains to wait until the party gets up.不幸的是,这是一个糟糕的解决方案,它仍然要等到聚会开始。

我尝试以这种方式安装包 pear Pager:从 github 下载 zip -> 在控制台中我去了下载的文件夹 -> 我使用了命令:sudo pear install package.xml 然后安装了 Pager,但是有很多包这是非常有问题的......我从另一个开发人员那里得到信息,我必须等待网站启动,但它已经持续了这么长时间......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM