Perl Source
Perl compiles on over 100 platforms, if you want to install from a binary instead see the ports page (especially for Windows).
How to install from source
wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz tar -xzf perl-5.28.0.tar.gz cd perl-5.28.0 ./Configure -des -Dprefix=$HOME/localperl make make test make install
Read both INSTALL and README.yoursystem in
the perl-5.28.0
directory for more detailed information.
Latest releases in each branch of Perl
Major | Version | Type | Released | Download |
---|---|---|---|---|
5.29002 | 5.29002.0 | Devel | 2018-08-20 | perl-5.29.2.tar.gz |
5.28000 | 5.28000.0 | Maint | 2018-06-23 | perl-5.28.0.tar.gz |
5.26002 | 5.26002.0 | Maint | 2018-04-14 | perl-5.26.2.tar.gz |
5.26001 | 5.26001.0 | End of life | 2017-09-22 | perl-5.26.1.tar.gz |
5.26000 | 5.26000.0 | End of life | 2017-05-30 | perl-5.26.0.tar.gz |
5.24004 | 5.24004.0 | End of life | 2018-04-14 | perl-5.24.4.tar.gz |
5.24003 | 5.24003.0 | End of life | 2017-09-22 | perl-5.24.3.tar.gz |
5.24002 | 5.24002.0 | End of life | 2017-07-15 | perl-5.24.2.tar.gz |
5.24001 | 5.24001.0 | End of life | 2017-01-14 | perl-5.24.1.tar.gz |
5.24000 | 5.24000.0 | End of life | 2016-05-09 | perl-5.24.0.tar.gz |
5.22004 | 5.22004.0 | End of life | 2017-07-15 | perl-5.22.4.tar.gz |
5.22003 | 5.22003.0 | End of life | 2017-01-14 | perl-5.22.3.tar.gz |
5.22002 | 5.22002.0 | End of life | 2016-04-29 | perl-5.22.2.tar.gz |
5.22001 | 5.22001.0 | End of life | 2015-12-13 | perl-5.22.1.tar.gz |
5.22000 | 5.22000.0 | End of life | 2015-06-01 | perl-5.22.0.tar.gz |
5.20003 | 5.20003.0 | End of life | 2015-09-12 | perl-5.20.3.tar.gz |
5.20002 | 5.20002.0 | End of life | 2015-02-14 | perl-5.20.2.tar.gz |
5.20001 | 5.20001.0 | End of life | 2014-09-14 | perl-5.20.1.tar.gz |
5.20000 | 5.20000.0 | End of life | 2014-05-27 | perl-5.20.0.tar.gz |
5.18004 | 5.18004.0 | End of life | 2014-10-02 | perl-5.18.4.tar.gz |
5.18003 | 5.18003.0 | End of life | 2014-10-01 | perl-5.18.3.tar.gz |
5.18002 | 5.18002.0 | End of life | 2014-01-07 | perl-5.18.2.tar.gz |
5.18001 | 5.18001.0 | End of life | 2013-08-12 | perl-5.18.1.tar.gz |
5.18000 | 5.18000.0 | End of life | 2013-05-18 | perl-5.18.0.tar.gz |
5.16003 | 5.16003.0 | End of life | 2013-03-11 | perl-5.16.3.tar.gz |
5.16002 | 5.16002.0 | End of life | 2012-11-01 | perl-5.16.2.tar.gz |
5.16001 | 5.16001.0 | End of life | 2012-08-08 | perl-5.16.1.tar.gz |
5.16000 | 5.16000.0 | End of life | 2012-05-20 | perl-5.16.0.tar.gz |
5.14004 | 5.14004.0 | End of life | 2013-03-10 | perl-5.14.4.tar.gz |
5.14003 | 5.14003.0 | End of life | 2012-10-12 | perl-5.14.3.tar.gz |
5.14002 | 5.14002.0 | End of life | 2011-09-26 | perl-5.14.2.tar.gz |
5.14001 | 5.14001.0 | End of life | 2011-06-17 | perl-5.14.1.tar.gz |
5.14000 | 5.14000.0 | End of life | 2011-05-14 | perl-5.14.0.tar.gz |
5.12005 | 5.12005.0 | End of life | 2012-11-10 | perl-5.12.5.tar.gz |
5.12004 | 5.12004.0 | End of life | 2011-06-20 | perl-5.12.4.tar.gz |
5.12003 | 5.12003.0 | End of life | 2011-01-22 | perl-5.12.3.tar.gz |
5.12002 | 5.12002.0 | End of life | 2010-09-07 | perl-5.12.2.tar.gz |
5.12001 | 5.12001.0 | End of life | 2010-05-16 | perl-5.12.1.tar.gz |
5.12000 | 5.12000.0 | End of life | 2010-04-12 | perl-5.12.0.tar.gz |
5.10001 | 5.10001.0 | End of life | 2009-08-23 | perl-5.10.1.tar.gz |
5.10000 | 5.10000.0 | End of life | 2007-12-18 | perl-5.10.0.tar.gz |
5.8009 | 5.8009.0 | End of life | 2008-12-14 | perl-5.8.9.tar.gz |
5.8008 | 5.8008.0 | End of life | 2006-02-01 | perl-5.8.8.tar.gz |
5.8007 | 5.8007.0 | End of life | 2005-05-30 | perl-5.8.7.tar.gz |
5.8006 | 5.8006.0 | End of life | 2004-11-27 | perl-5.8.6.tar.gz |
5.8005 | 5.8005.0 | End of life | 2004-07-19 | perl-5.8.5.tar.gz |
5.8003 | 5.8003.0 | End of life | 2004-04-21 | perl-5.8.4.tar.gz |
If you want to help out developing new releases of Perl visit the development site and join the perl5-porters mailing list.
Version scheme
Perl has used the following policy since the 5.6 release of Perl:
- Maintenance branches (ready for production use) are even numbers (5.8, 5.10, 5.12 etc)
- Sub-branches of maintenance releases (5.12.1, 5.12.2 etc) are mostly just for bug fixes
- Development branches are odd numbers (5.9, 5.11, 5.13 etc)
- RC (release candidates) leading up to a maintenance branch are called testing releases
Please note that branches earlier than 5.20 are no longer supported, though fixes for urgent issues, for example severe security problems, may still be issued.
Note: please avoid referring to the "symbolic" source releases like "stable" and "latest", or "maint" and "devel". They are still used here but only for backward compatibility. The symbolic names were found to cause more confusion than they are worth because they don't really work with multiple branches, especially not with multiple maintenance branches, and especially the "latest" makes absolutely no sense. The "latest" and "stable" are now just aliases for "maint", and "maint" in turn is the maintenance branch with the largest release number.
First release in each branch of Perl
Major | Version | Released |
---|---|---|
5.28000 | 5.28000.0 | 2018-06-23 |
5.26002 | 5.26002.0 | 2018-04-14 |
5.26001 | 5.26001.0 | 2017-09-22 |
5.26000 | 5.26000.0 | 2017-05-30 |
5.24004 | 5.24004.0 | 2018-04-14 |
5.24003 | 5.24003.0 | 2017-09-22 |
5.24002 | 5.24002.0 | 2017-07-15 |
5.24001 | 5.24001.0 | 2017-01-14 |
5.24000 | 5.24000.0 | 2016-05-09 |
5.22004 | 5.22004.0 | 2017-07-15 |
5.22003 | 5.22003.0 | 2017-01-14 |
5.22002 | 5.22002.0 | 2016-04-29 |
5.22001 | 5.22001.0 | 2015-12-13 |
5.22000 | 5.22000.0 | 2015-06-01 |
5.20003 | 5.20003.0 | 2015-09-12 |
5.20002 | 5.20002.0 | 2015-02-14 |
5.20001 | 5.20001.0 | 2014-09-14 |
5.20000 | 5.20000.0 | 2014-05-27 |
5.18004 | 5.18004.0 | 2014-10-02 |
5.18003 | 5.18003.0 | 2014-10-01 |
5.18002 | 5.18002.0 | 2014-01-07 |
5.18001 | 5.18001.0 | 2013-08-12 |
5.18000 | 5.18000.0 | 2013-05-18 |
5.16003 | 5.16003.0 | 2013-03-11 |
5.16002 | 5.16002.0 | 2012-11-01 |
5.16001 | 5.16001.0 | 2012-08-08 |
5.16000 | 5.16000.0 | 2012-05-20 |
5.14004 | 5.14004.0 | 2013-03-10 |
5.14003 | 5.14003.0 | 2012-10-12 |
5.14002 | 5.14002.0 | 2011-09-26 |
5.14001 | 5.14001.0 | 2011-06-17 |
5.14000 | 5.14000.0 | 2011-05-14 |
5.12005 | 5.12005.0 | 2012-11-10 |
5.12004 | 5.12004.0 | 2011-06-20 |
5.12003 | 5.12003.0 | 2011-01-22 |
5.12002 | 5.12002.0 | 2010-09-07 |
5.12001 | 5.12001.0 | 2010-05-16 |
5.12000 | 5.12000.0 | 2010-04-12 |
5.10001 | 5.10001.0 | 2009-08-23 |
5.10000 | 5.10000.0 | 2007-12-18 |
5.8009 | 5.8009.0 | 2008-12-14 |
5.8008 | 5.8008.0 | 2006-02-01 |
5.8007 | 5.8007.0 | 2005-05-30 |
5.8006 | 5.8006.0 | 2004-11-27 |
5.8005 | 5.8005.0 | 2004-07-19 |
5.8003 | 5.8003.0 | 2004-04-21 |
Other files and directories (mostly for posterity)
-
5.0/
Source archives for all releases of perl5. You should only need to look here if you have an application which, for some reason or another, does not run with the current release of perl5. Be aware that only 5.004 and later versions of perl are maintained. If you report a genuine bug in such a version, you will probably be informed either that it is fixed in the current maintenance release, or will be fixed in a subsequent one. If you report a bug in an unmaintained version, you are likely to be advised to upgrade to a maintained version which fixes the bug, or to await a fix in a maintained version. No fix will be provided for the unmaintained version.
-
Perl 6 or Parrot are not yet in CPAN. In the meanwhile, try here or here.
-
5.0/jperl
Path to patch files needed to adapt particular perl releases for use with Japanese character sets.
-
ENDINGS
Discussion of the meanings of the endings of filenames (.gz, .ZIP and so on). Read this file if you want to know how to handle a source code archive after you've downloaded it.
-
README
This file.
-
misc/
Third-party and other add-on source packages needed in order to build certain perl configurations. You do not need any of this stuff to build a default configuration.
- perl-5.*.tar.gz, perl-5.*.tar.bz2, perl5_*.tar.gz
Source code archives for several recent production releases of perl.
-
unsupported/
This is where we hid the source for perl4, which was superseded by perl5 years ago. We would really much rather that you didn't use it. It is definitely obsolete and has security and other bugs. And, since it's unsupported, it will continue to have them.
-
5.0/sperl-2000-08-05
Files relevant to the security problem found in 'suidperl' in August 2000, reported in the bugtraq mailing list. The problem was found in all Perl release branches: 5.6, 5.005, and 5.004. The 5.6.1 release has a fix for this, as have the 5.8 releases. The (now obsolete) development branch 5.7 was unaffected, except for very early (pre-5.7.0) developer-only snapshots. The bug affects you only if you use an executable called 'suidperl', not if you use 'perl', and it is very likely only to affect UNIX platforms, and even more precisely, as of March 2001, the only platforms known to be affected are Linux platforms (all of them, as far as we know). The 'suidperl' is an optional component which is not installed, or even built, by default. These files will help you in the case you compile Perl yourself from the source and you want to close the security hole.
- 5.0/CA-97.17.sperl
- 5.0/fixsperl-0
-
5.0/fixsuid5-0.pat
Files relevant to the CERT Advisory CA-97.17.sperl, a security problem found in 'suidperl' back in 1997. The problem was found both in Perl 4.036 (the final) (and last) release of Perl 4 and in early versions of Perl 5 (pre-5.003). The bug affects you only if you use an executable called 'suidperl', not if you use 'perl', and it is very likely only to affect UNIX platform. The 'suidperl' is an optional component which is not installed, or even built, by default. These files will help you in the (very unlikely) case you need to use (the obsolete and unsupported) Perl 4 or the early Perl 5s, Perl releases newer than Perl 5.003 do not have this security problem.