I need to install some CPAN module on my Ubuntu computer. I want to install it from deb package so I need to find out what package contains that module.
Sometimes the solution for this task is pretty simple. For example if I need to install File::Find::Rule I just convert the name to lowercase, change ::
to -
and add lib
to the beginning and -perl
to the end. The result is the package name libfile-find-rule-perl
:
$ apt-cache search libfile-find-rule-perl
libfile-find-rule-perl - module to search for files based on rules
But in other cases this is not working. I want to find deb package that contains Debian::AptContents. But apt-cache search libdebian-aptcontents-perl
finds nothing.
Well, in the case of Debian::AptContents I know that it is in the package dh-make-perl
, but I want to know how to find what deb package contains the module I need.