Home » Questions » Computers [ Ask a new question ]

How do you manage perl modules on a Debian system?

How do you manage perl modules on a Debian system?

I'd like to know if you have a method for managing perl modules on your Debian system, with respect to the following:

Asked by: Guest | Views: 281
Total answers/comments: 2
bert [Entry]

"If you use apt-get and dh-make-perl for all packages, deborphan --guess-perl will find perl packages without any dependencies, which you can then remove and run it again iteratively. deborphan has a keep list which you can add the ones you're actively using to and they won't show up.

So to make this work, you'll have to uninstall all the modules you installed via CPAN and reinstall them with dh-make-perl. Manually installed modules can be detected by looking for ""No available version in archive"" in the ouptut of apt-show-versions libsome-module-perl."
bert [Entry]

"Leave Debian's Perl alone and install a second Perl that you manage with cpan:

stackoverflow.com/questions/398221/how-do-you-manage-perl-modules-on-linux"