Hi All,

My question in short is,

is it possible to install perlbrew without a /usr/bin/perl or /usr/local/bin/perl?

The longer story here,

I have a pfsense box that I would like to use perl with a non root user. So perlbrew seems to be a logical solution. I tried to \fetch -o- http://install.perlbrew.pl | sh and got the following error message  Need /usr/bin/perl or /usr/local/bin/perl to use sh. On the other hand, there are two packages in the system, squid and squid-guard, actually brought their own perl and friends. For example,

[support@example.com]/home/support/download: file /usr/pbi/squid-amd6 +4/local/bin/perl /usr/pbi/squid-amd64/local/bin/perl: ELF 64-bit LSB executable, x86-64 +, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-el +f.so.1, for FreeBSD 10.1, stripped

So I would like to know if it is possible to make use them for one time bootstrap of perlbrew?

Thanks in advance for the help.

Regards,

David.


In reply to Installing perlbrew with a non-system perl by hkdtam

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.