http://www.perlmonks.org?node_id=879818

Every now and then I need to know which version of perl was distributed by a certain version of some Linux distribution. Is this information collected somewhere? If not, would you mind helping me collecting this data for various recent (to some values of recent) Linux (and BSD, and UNIX and OSX and ...) distributions.

Related: Releases of perl

some sources:
OpenBSD
FreeBSD
Konppix
ambrus

Update

On a second thought it is probably better to keep this table in a wiki so more people can update it. I have

moved it to the TPF wiki

If you prefer to reply here, go ahead do that and I'll move the data over to the wiki thought it would be better if you updated it directly.

Replies are listed 'Best First'.
Re: Which version of perl comes with ...?
by afoken (Chancellor) on Dec 30, 2010 at 16:32 UTC

    From a dusty corner of my server's RAID:

    Slackware-8.1 perl-5.6.1 Slackware-9.0 perl-5.8.0 Slackware-9.1 perl-5.8.0 Slackware-10.2 perl-5.8.7 Slackware-11.0 perl-5.8.8 Slackware-11.0 perl-5.8.8 Slackware-12.0 perl-5.8.8 Slackware-12.1 perl-5.8.8 Slackware-12.2 perl-5.10.0 Slackware-13.0 perl-5.10.0 Slackware-13.1 perl-5.10.1

    (Note that Slackware skipped the 5.x and 6.x releases, 7.0 directly followed 4.0.)

    From ftp.slackware.at: Slackware 3.3 has Perl 5.004, patch 03

    From ftp.gwdg.de: Slackware 1.1.2 has Perl Release 4.0 Patchlevel 36

    Other historic Slackware versions are 250 km away on some dusty disks, so I can't look right now.

    <update>

    Release dates from http://en.wikipedia.org/wiki/Slackware#Releases:

    version date 1.0 July 16, 1993 1.1.0 November 5, 1993 1.1.2 February 5, 1994 2.0 July 2, 1994 2.1 October 31, 1994 2.2 March 30, 1995 2.3 May 24, 1995 3.0 November 30, 1995 3.1 June 3, 1996 3.2 February 17, 1997 3.3 June 11, 1997 3.4 October 14, 1997 3.5 June 9, 1998 3.6 October 28, 1998 3.9 May 10, 1999 4.0 May 17, 1999 7.0 October 25, 1999 7.1 June 22, 2000 8.0 July 1, 2001 8.1 June 18, 2002 9.0 March 19, 2003 9.1 September 26, 2003 10.0 June 23, 2004 10.1 February 2, 2005 10.2 September 14, 2005 11.0 October 2, 2006 12.0 July 1, 2007 12.1 May 2, 2008 12.2 December 10, 2008 13.0 August 26, 2009 13.1 May 24, 2010

    </update>

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
Re: Which version of perl comes with ...?
by RedElk (Hermit) on Dec 30, 2010 at 16:10 UTC

    Taken from here, I found the following:

  • Ubuntu 10.10 => Perl 5.10.1
  • Ubuntu 10.4LTS => Perl 5.10.1
  • Ubuntu 9.10 => Perl 5.10.0
Re: Which version of perl comes with ...?
by gsiems (Deacon) on Dec 30, 2010 at 17:29 UTC

    The version of perl for Redhat and CentOS should match for the same OS version as CentOS is compiled from the Redhat sources.

    • Cent0S 4.x - 5.8.5
    • Cent0S 5.x - 5.8.8
    • Fedora 14 - 5.12.2
    • Fedora 13 - 5.10.1
    • Fedora 12 - 5.10.0
    • Fedora 11 - 5.10.0

    Update:

    RHEL 6 looks to be using 5.10.1

Re: Which version of perl comes with ...?
by ajt (Prior) on Dec 30, 2010 at 17:38 UTC

    That's a useful table.

    It's not a prefect database, but the Distrowatch web site covers the versions of most common applications, including Perl, in most Linux and BSD distros.


    --
    ajt
Re: Which version of perl comes with ...?
by JavaFan (Canon) on Dec 30, 2010 at 17:07 UTC
    I think it is (was?) SUNs policy to bundle the latest, and the previous shipped version of Perl (So, when the time comes to make Solaris X, it would include the current version of Perl, and whatever was shipped with Solaris X-1). Which would mean there isn't a simple "OS-version" to "Perl-version" mapping.
      I guess you are joking ;). It's correct that Solaris ships with two versions, but it's certainly not the latest:
      Solaris 10 ships 5.8.4 and 5.6.1 (to be removed).

      Solaris 11 express (the preview of Solaris 11 coming out at the end of 2011) was out last month and comes with Perl 5.10.0 and 5.8.4 (repository).

      C.
Re: Which version of perl comes with ...?
by Anonyrnous Monk (Hermit) on Dec 30, 2010 at 17:17 UTC
    AIX 6.1 5.8.2 AIX 5.3 5.8.2 AIX 5.2 5.8.0 AIX 5.1 5.6.0 AIX 4.3 5.005_03 Solaris 10 5.8.4 Solaris 9 5.6.1 Solaris 8 5.005_03

    HP-UX (11.00, 11.11, 11.23) doesn't ship with Perl by default, AFAIK (so what version you find depends on whoever installed it).

      Not completely true. It depends on what (pre)installation was perfomermed and by whom.

      Below is a list of the perl that got installed at installation time as system's perl. As I always use my own compiled versions, I do not care to update the preinstalled version, so I may say I think it was installed as such by default:

      HP-UX 11.31/IPF5.8.8
      HP-UX 11.23/IPF5.8.8
      HP-UX 11.11/PA5.005_02
      HP-UX 11.00/PA4.0 PL36
      HP-UX 10.20/PA4.0 PL36

      For modern releases, HP has an official depot available for free here. Next to that, the HP Porting Center has recent versions of perl available on a restricted number of OS releases here. I have almost every version of perl available for all of the above HP-UX versions here.


      Enjoy, Have FUN! H.Merijn
Re: Which version of perl comes with ...?
by mr_mischief (Monsignor) on Dec 31, 2010 at 20:08 UTC

    For Mandriva... Note that Mandriva as of about Mandrake 10.2 or 2005 ships its system perl without threading. Also note that Mandriva, like many vendors, ships with certain patches so these aren't all vanilla from the main perl source.

    OS versionPerl version
    2010.25.10.1
    2010.1 (2010 Spring)5.10.1
    2010.05.10.1
    2009.1 (2009 Spring)5.10.0
    2009.05.10.0
    2008.1 (2008 Spring)5.10.0
    2008.0No Data
    2008.0 RC2 (release candidate) *5.8.8
    2007.1 (2007 Spring) *5.8.8
    2005 *5.8.6

    * 2008.0 RC2 info found from media, all others from Mandriva wiki. 2008.1 and later have a package list available online. Some earlier versions have links for them, but all appear broken. Info for 2005 was found on the mailing list archive rather than the wiki. Info for 2007.1 was found in the errata (specifically, the rpmdrake errata) on the wiki.

    I can probably get some info for some versions of certain unusual distros to you tomorrow, like Puppy, Xandros, and maybe a few others. I also have some other Mandriva/Mandrake media I could find and mount. Today my limited time has run out.

      Pardon me for replying to myself, but I have some more versions for the list.

      Puppy

      OS versionPerl version
      5.1.15.10.1
      4.3.15.8.8
      4.2.05.8.8
      4.1.05.8.8

      Unsurprisingly, Core Linux 2.0 (no relation to Fedora or Fedora Core), being a tiny distribution meant to provide just a boot-strap installation of Linux upon which you can install everything else doesn't provide a perl.

      I'm surprised I haven't noticed Debian mentioned. I had 5.0.6 handy, so I can tell you it ships with 5.10.0 as its system perl.

      I dug out some older Linux distro CDs I have for some perspective, even though I'm aware you mentioned "recent".

      On my (commercial, bought shrink-wrapped, so don't sue me, Darl) Caldera 2.3 disks from 1999, I found 5.5.2 (or as it was know then, 5.005_02).

      Red Hat 7.1 (not RHEL, but back before Fedora and RHEL when it was all just Red Hat Linux) from 2001 had 5.6.0 in the ISOs.

      I've been using Mandriva as at least one of my Linux distros since version 6.0 first came out. I have enough data to put together another Mandrake/Mandriva table for some of the versions not listed in the one above.

      Distribution versionYearPerl version
      Mandrake 7.020005.5.3 (5.005_03)
      Mandrake 8.0 Power Pack20015.6.0
      Mandrake 8.220015.6.1
      Mandrake 9.120035.8.0
      Mandrake 10.020035.8.3
      Mandriva 2008.0 (Final)20085.10.0

      As usual for Mandriva, the vendor_perl directory for some of the above contains some modules from earlier editions. Perl plays a central role in much of Mandriva's package management and configuration management tools, so they tend to do what is necessary with their system perl to make Perl really stable for their needs. I suggest installing a second perl under /usr/local on Mandriva, BTW, for exactly this reason. It's not a bad idea to leave the system's perl alone on most platforms that ship with one, but on Mandriva you can really hose your system if you mess up, say, urpmi by fiddling with the system perl.

      I don't seem to have Xandros or NimbleX any newer than 2007. I have some earlier Ubuntu versions not mentioned yet by others, but they aren't exactly recent either.

Re: Which version of perl comes with ...?
by pokki (Monk) on Jan 01, 2011 at 13:11 UTC
    Maemo (the debian derivative shipped on Nokia N900 smartphones) uses v5.8.3.
Re: Which version of perl comes with ...?
by chrestomanci (Priest) on Aug 15, 2011 at 13:26 UTC

    distrowatch maintains records of which version of software are shipped with most linux distros, and they have historical records going back a long time, so for example perl versions in Debian:

    sid testing 5.12.4 wheezy 5.12.4 squeeze 5.10.1 lenny 5.10.0 etch 5.8.8 sarge 5.8.4 woody 5.6.1 potato 5.4.5 slink 5.4.4 hamm 5.4.4 bo 5.3.7 rex 5.3.7 buzz 5.2