Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Windows installation woes

by soonix (Canon)
on Nov 03, 2021 at 14:17 UTC ( #11138378=note: print w/replies, xml ) Need Help??

in reply to Re^2: Windows installation woes
in thread Windows installation woes

suppose I could get a Windows machine and install Strawberry and the modules needed. What do I need to grab and copy?
  • You'd need a Windows machine with internet access, where you can execute gmake and whatever other programs are needed.
  • Grab the "portable" edition. Put it on that Windows machine
  • start the "portableshell.bat"
  • cpanm from the portable edition install new modules in that portable edition's tree, so install Tk and whichever modules you need.
  • After that is done, copy (or zip, or net use) the whole folder tree onto those restricted machine(s) (after due virus scans, etc., of course).
  • When started from that "portableshell.bat", the installed modules would work (at least, they do in my environment)
Due to your restrictions, Inline and similiar tools probably won't work, but with Tk I have a working script which is deployed in this manner.

Update: corrected portableperl.bat to portableshell.bat - thanks syphilis

Replies are listed 'Best First'.
Re^4: Windows installation woes
by stevieb (Canon) on Nov 03, 2021 at 15:02 UTC

    My next version of berrybrew will have a feature where you can configure an instance of Perl with all the modules you require, then export the whole shebang as either a complete portable instance directory, or zip archive of the instance directory.

    Not that one can't just copy manually an instance, but having a button in the UI with a 'copy to' location pop up will make it much easier.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11138378]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2023-05-30 17:41 GMT
Find Nodes?
    Voting Booth?

    No recent polls found