2

I need to install the Perl module File::HomeDir on a laptop running Arch Linux.

In order to find out which (pacman-)package contains that module, I run

pkgfile -u
pkgfile HomeDir.pm

The second command, which I believe should indicate which package I need to install, prints nothing.

Does that mean that there is no package with the specific Perl module? Or is there another way to find which package I need to install?

0

2 Answers 2

1

don_crissti noted in the comments:

It's not available from the repos, only from AUR.

2
  • Would it be hurtful if I installed the module "directly" (cpan install File::HomeDir) instead of going the extra route to AUR? Mar 13, 2017 at 12:36
  • Seems to me that it would work, but I'm not an Arch user myself. wiki.archlinux.org/index.php/Perl_package_guidelines has some background. Sounds like using AUR may enable pacman to be aware of it.
    – Jeff Schaller
    Mar 13, 2017 at 12:45
0

It was added to the community repo.

You can now install it with a simple

pacman -S perl-file-homedir

See https://www.archlinux.org/packages/community/any/perl-file-homedir/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .