Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I would like to know on which OSes Perl interpreter is included by default. I know Debian and Solaris since 8 includes it. And MacOS X Panter too (but do previous versions of MacOSX include it?) What other OSes include it (particulary unix-like ones)? BTW, it would be nice to put it into some FAQ I guess.
Thanks in advance.

Replies are listed 'Best First'.
OT: on which OSes Perl is in base install?
by astroboy (Chaplain) on Mar 01, 2004 at 10:51 UTC

    Not an OS, but a database: Oracle comes with Perl. Potential problems if you never realised this - following a DB install, you suddenly find your Perl code stops working as their Perl appears earlier in your PATH and you weren't expecting another Perl to suddenly appear.

    I find their Perl next to useless. On Win2k it's not compatible with ppm, and chances are they used a completely different compiler to the one you use on Unix (particularly if you don't have the vendor's compiler and use gcc instead)

      Rational ClearCase also has its own version of Perl. It seems to be pretty crippled as well, but at least it's named ccperl so you don't have executable name conflicts.
      which version of oracle are you talking about?? i installed v8 on winXP and it certainly doesn't have perl...only JAVA.

        I first noticed this after upgrading from 8.0 to 8i - so I assume that this was the version that introduced it (the version that Oracle started bundling Apache with the database and their mod_plsql module):


Re: on which OSes Perl is in base install?
by kodo (Hermit) on Mar 01, 2004 at 08:40 UTC
    Uhm, I know that it's in the default-install of Slackware Linux and FreeBSD. IIRC both of them rely on perl for startup-scripts etc. which is something I don't like but well....
Re: on which OSes Perl is in base install?
by busunsl (Vicar) on Mar 01, 2004 at 09:26 UTC
    It's in SuSE Linux since their first distro.
Re: on which OSes Perl is in base install?
by davis (Vicar) on Mar 01, 2004 at 09:41 UTC

    HP-UX 11.11 includes perl 5.005 by default, and later versions of perl are available on the application CDs. HP-UX 11.11, 11.22, 11.23 includes perl 5.6.1.

    Gentoo Linux includes perl in the default install.

    Update: I verified using the latest CDs

    It's not easy to juggle a pregnant wife and a troubled child, but somehow I managed to fit in eight hours of TV a day.
      ...also RedHat linux from wayback
Re: on which OSes Perl is in base install?
by exussum0 (Vicar) on Mar 01, 2004 at 11:47 UTC
    OSX came with perl and php on a default install. Ruby and python I'm not too sure about. I only discovered it sitting on my system at 10.2.

    -- "So far my experience has been that most people who go for certification have broad but not deep knowledge in the field and the flavor of the knowledge is academic. But every once in a while one finds a gem of a person who learns all the time and uses certification to prove it." -- on Orkut
      They were available with the 10.1 default installation as well. I'm not sure about 10.0, though (not that it really matters).

      tbone1, YAPS (Yet Another Perl Schlub)
      And remember, if he succeeds, so what.
      - Chick McGee

Re: on which OSes Perl is in base install?
by ghettofinger (Monk) on Mar 02, 2004 at 04:09 UTC
    If I may quote Programming Perl (3rd ed.):

    Most operating system vendors these days include Perl as a standard component of their systems. As of this writing, AIX, BeOS, BSDI, Debian, DG/UX, DYNIX/ptx, FreeBSD, IRIX, LynxOS, Mac OS X, OpenBSD, OS390, RedHat, SINIX, Slackware, Solaris, SuSE, and Tru64 all came with Perl as part of their standard distributions. Some companies provide Perl on separate CDs of contributed freeware or through their customer service groups. Third-party companies like ActiveState offer prebuilt Perl distributions for a variety of different operating systems, including those from Microsoft.

    Thank you,

Re: on which OSes Perl is in base install?
by Aristotle (Chancellor) on Mar 01, 2004 at 20:00 UTC
    The answer is pretty close to "on anything but Windows", at least assuming even vaguely recent versions of any OS in question.

    Makeshifts last the longest.

Re: on which OSes Perl is in base install?
by gmpassos (Priest) on Mar 02, 2004 at 06:44 UTC
    By default (standart installation, without configure any extra thing) I know that Perl is installed in this OS:
    * Linux: - Red Hat - Conectiva - Slackware - Gentoo * FreeBSD * Mac OS X

    Graciliano M. P.
    "Creativity is the expression of the liberty".

Re: on which OSes Perl is in base install?
by castaway (Parson) on Mar 02, 2004 at 08:38 UTC
    Although its not standard with Windows, the Windows NT Resource Kit contains a perl binary (5.00 something, I forget which) - no idea if Win2k, XP RKs etc continue that trend.