in reply to Self-contained Perl installation with custom modules on USB stick for *nix systems

I copied a whole ~/perl-install directory to my USB stick

But then:

I compiled and copied a Perl interpreter for both x86 and x86_64 systems ...

So there are two perls on the USB stick ?
What is it that ensures that the correct interpreter is found ? (Or do you have 2 USB sticks - one for each perl ?)

Is it a good way?

I perhaps haven't got my head around the precise details of what you're doing, but the description sounds straightforward - so I would say "yes" (if it's working ok ;-)

Cheers,
Rob
  • Comment on Re: Self-contained Perl installation with custom modules on USB stick for *nix systems

Replies are listed 'Best First'.
Re^2: Self-contained Perl installation with custom modules on USB stick for *nix systems
by aoeuidhtn (Initiate) on Jul 22, 2015 at 12:23 UTC
    So there are two perls on the USB stick ?
    Yes, but in two separate directories with all dependencies inside in these directories. I just execute <DIR>/bin/perl <path/to/kpcli> by hand after setting PERL5LIB
      If you have not already done, add export sentence, and PATH to some script on usb , so you have not to write it everytime
      Sure, I am going to write a simple script to handle opening kpcli automatically.