just use: Makefile.PL PREFIX=/home/gabor/perl5lib LIB=/home/gabor/perl5lib At least this has been working well for me. All modules are now installed in the given directory instead of architecture-dependant ones and such and in the architecture dependant ones.