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?


don_crissti noted in the comments:

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


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/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.