在Ubuntu中自动安装基于软件包的Perl模块

问题描述:

我想安装特定Perl脚本所需的Perl模块,例如perl-depends工具列出的模块.但是,我想在Ubuntu中使用apt-get进行此操作,这意味着通过软件包存储库而不是通过CPAN安装模块.

I would like to install the Perl modules required by a specific Perl script, such as those listed by the perl-depends tool. However, I would like to do that in Ubuntu using the apt-get, meaning installing the modules through the package repository and not through CPAN.

大多数类似的问题(例如

Most similar questions (such as this one) address ways of doing that through CPAN.