Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically Install Package-Based Perl Modules in Ubuntu

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.

like image 820
Alan Turing Avatar asked May 11 '11 15:05

Alan Turing


2 Answers

Debian-Apt-PM

like image 179
daxim Avatar answered Oct 31 '22 11:10

daxim


This will list all packages having perl in them:

sudo apt-cache search perl *

then:

sudo apt-get install pkg_name_in_output

like image 32
rajeev Avatar answered Oct 31 '22 12:10

rajeev