开发者

Automatically Install Package-Based Perl Modules in Ubuntu

开发者 https://www.devze.com 2023-03-05 16:22 出处:网络
I would like to install the Perl modules required by a specific Perl script开发者_StackOverflow中文版, such as those listed by the perl-depends tool. However, I would like to do that in Ubuntu using t

I would like to install the Perl modules required by a specific Perl script开发者_StackOverflow中文版, 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.


Debian-Apt-PM


This will list all packages having perl in them:

sudo apt-cache search perl *

then:

sudo apt-get install pkg_name_in_output

0

精彩评论

暂无评论...
验证码 换一张
取 消