Automatically Install Package-Based Perl Modules in Ubuntu

落花浮王杯 提交于 2019-12-10 15:17:10

问题


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.


回答1:


Debian-Apt-PM




回答2:


This will list all packages having perl in them:

sudo apt-cache search perl *

then:

sudo apt-get install pkg_name_in_output



来源:https://stackoverflow.com/questions/5966505/automatically-install-package-based-perl-modules-in-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!