Tuesday, July 19, 2011

activeperl: a way to install packages on a box without internet connection

i use activeperl to deploy perl scripts on a windows box. it's easy to install, and with its ppm (perl package manager) you can search packages from online repositories and install (and remove) perl packages in a snap.

perl package manager
but what if you have to install perl packages on a box that has no internet connection?
here's my quick solution...
  1. install activeperl on my computer that has internet connection
  2. using ppm, install needed perl packages on my computer
  3. uninstall activeperl from my computer
  4. uninstall activeperl from the box that has no internet connection
  5. copy the whole \Perl folder from my computer to the destination box
  6. reinstall activeperl on the destination box
i'm sure there are other ways, such as just updating your \Perl\lib\ files or copying perl packages' installation files into a specific folder which you might be able to set as ppm's repository. i'll try them when i have time. for now, this works fine for me ;)

check your \Perl\html\index.html file for info

No comments:

Post a Comment

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...