Perl Makefile.PL LIB=/path-to/your-dir PREFIX=/path-to/your-dir make make test make install