5

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.

Community
  • 1
  • 1
Alan Turing
  • 12,223
  • 16
  • 74
  • 116

2 Answers2

5

Debian-Apt-PM

daxim
  • 39,270
  • 4
  • 65
  • 132
1

This will list all packages having perl in them:

sudo apt-cache search perl *

then:

sudo apt-get install pkg_name_in_output

Darren
  • 68,902
  • 24
  • 138
  • 144
rajeev
  • 11
  • 1