是否可以将 Perl 安装包的列表传输到另一台计算机并在 ActiveState 的 ActivePerl 中标记安装?
所以我们正在迁移服务器。啊啊。一台机器上有很多 Perl 东西,我们需要在另一台机器上设置。
有没有一种方法可以导出/导入已安装的所有软件包的列表,以便我可以将它们安装在新服务器上,而不是逐一查找? (使用 ActivePerl)
So we are migrating servers. Arghh. There is a lot of Perl stuff on one machine that we need to set up on another one.
Is there a way to export / import a list of all packages that are installed so that I can install them on the new server instead of looking up one by one?
(using ActivePerl)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用
ppm
,则可以使用ppm profile
命令。您可以通过存储已安装软件包的列表并在另一台计算机上恢复
If you are using
ppm
, you can useppm profile
commands. You can store a list of installed packages viaand restore on another machine with
将创建所有已安装软件包的
Bundle
,可以将其移动到其他系统上的 CPAN 目录并安装在那里。几年前,我曾经这样做过一次,当时似乎很有效。
will create a
Bundle
of all your installed packages, which can be moved to your CPAN directory on the other system and installed there.I did this once, a few years ago, and it seemed to work then.