How can I install package in ActivePerl without Internet connection? How can I install package in ActivePerl without Internet connection? windows windows

How can I install package in ActivePerl without Internet connection?


I am sure there is an easier way, but I just checked a ppd file and it is just an xml file ...

So you should be able to do the following if you want to install manually on a pc with no connection:

Open the file , ex

http://trouchelle.com/ppm/Acme-LOLCAT.ppd

and download the appropriate file pointed to in the CODEBASE tag, in this case:

http://trouchelle.com/ppm/MSWin32-x86-multi-thread-5.8/Acme-LOLCAT-0.0.4.zip

Put both file on the pc with no connection, CODEBASE HREF="xxx" should be pointing to the zip file (either by putting the file in the same relative subfolder or by fixing the href so it points to the zip file on your disk)

Install from the ppd using

ppm install x.ppd


I know it's not an answer to your question, but if possible consider using Strawberry Perl, a CPAN-friendly distribution of Perl for Windows. It has a tidy installer, ships with make, a compiler and a properly configured CPAN shell all ready to go.

And then you can use something like minicpan to create an offline CPAN repository.

Don't be a second class Perl citizen and have to wait for someone else to compile you a ppm, drink straight from the CPAN firehose!