On Mon, Jun 20, 2011 at 11:13:20AM +0200, Alex Muntada wrote: > apt-get install $(apt-file search -l Foo::Bar) That won't be very accurate. For example, searching for DBIx::Class would not only install libdbix-class-perl but also libdbix-class-schema-loader-perl and several others. apt-file search -l DBIx/Class.pm would not be correct either, because there is /usr/share/perl5/Catalyst/Authentication/Store/DBIx/Class.pm in libcatalyst-modules-perl. apt-file search -l /usr/share/perl5/DBIx/Class.pm is correct, but cumbersome and ignores possible XS modules. The only proper way I know of is dh-make-perl locate DBIx::Class but having to install a developer tool first is hardly user friendly.
Description: Digital signature