下载 CPAN 存储库。没有 Linux 可以访问 Internet 的系统
Download CPAN Repository. No Linux System with Internet Access
我们的 Linux 系统无法访问 Internet。
只有 Windows 客户端可以访问 Internet。
我想建立一个离线 CPAN 存储库。
我无法下载每个模块并选择所有依赖项。
有没有办法将具有依赖关系的模块自动下载到 Windows 系统?
即使是完整下载 CPAN 存储库对我来说也是一个解决方案。
您可以使用 minicpan
创建 CPAN 的本地镜像。它旨在在媒体上分发 CPAN(或其子集)的副本,以便在没有可用互联网的情况下使用它,例如一个 USB 驱动器,您可以在飞机上使用笔记本电脑,这样您仍然可以安装依赖项,即使它已经过时了。
查看 CPAN::Mini and the minicpan utility on CPAN as well as this guide on how to set up a mirror on perl.org. There is a guide on blogs.perl.org as well. Furthermore, this guide in German 非常全面,底部有相关 material 列表。
其实还有一个完整的标签minicpan here on Stack Overflow. One of the very helpful reads (though not a full duplicate) is ysth's answer here。
我们的 Linux 系统无法访问 Internet。 只有 Windows 客户端可以访问 Internet。 我想建立一个离线 CPAN 存储库。
我无法下载每个模块并选择所有依赖项。 有没有办法将具有依赖关系的模块自动下载到 Windows 系统? 即使是完整下载 CPAN 存储库对我来说也是一个解决方案。
您可以使用 minicpan
创建 CPAN 的本地镜像。它旨在在媒体上分发 CPAN(或其子集)的副本,以便在没有可用互联网的情况下使用它,例如一个 USB 驱动器,您可以在飞机上使用笔记本电脑,这样您仍然可以安装依赖项,即使它已经过时了。
查看 CPAN::Mini and the minicpan utility on CPAN as well as this guide on how to set up a mirror on perl.org. There is a guide on blogs.perl.org as well. Furthermore, this guide in German 非常全面,底部有相关 material 列表。
其实还有一个完整的标签minicpan here on Stack Overflow. One of the very helpful reads (though not a full duplicate) is ysth's answer here。