Is it possible to transfer a list of Perl installed packages to another machine and mark for installation in ActiveState's ActivePerl?

StackOverflow https://stackoverflow.com/questions/9143203

Frage

So we are migrating servers. Arghh. There is a lot of Perl stuff on one machine that we need to set up on another one.

Is there a way to export / import a list of all packages that are installed so that I can install them on the new server instead of looking up one by one? (using ActivePerl)

War es hilfreich?

Lösung

If you are using ppm, you can use ppm profile commands. You can store a list of installed packages via

ppm profile save my_modules.xml

and restore on another machine with

ppm profile restore my_modules.xml

Andere Tipps

cpan -a

will create a Bundle of all your installed packages, which can be moved to your CPAN directory on the other system and installed there.

I did this once, a few years ago, and it seemed to work then.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top