Download Perl For Mac
- Open a Terminal application (in the Utilities folder of your Applications folder) and run perl -v to find out which version. ActiveState Perl has binary distributions of Perl for Mac OS X. This is the simplest way to install the latest version of Perl.
- Everyone else (Mac, Unix, etc): Don't worry, you already have Perl installed. Running ExifTool The exiftool application provides a convenient command-line interface for the Image::ExifTool Perl package (both included in the full distribution).
Download Perl for Mac - Free and open source programming language that will help developers to build cross-platform applications and tools from scratch.
PrevNext
When searching a Perl module, sooner or later you will end up on one of two sites sites providing information about CPAN modules.Both Meta CPAN, and search.cpan.orgwill show you a link to download the module, but in most cases that's not what you need.
So how do you really install Perl modules from CPAN?
(As always, some people will disagree with the recommendations below, they probably have not readthe article of Dave Cross, or reachedother conclusions.)
In most cases the installation of a CPAN module works just as installing an app from the Apple Appstore or the Google Play.Except, that these modules are all open source and free software.
Depending on the Operating System and which Perl distribution you have, the specific instructions differ.In order to make the examples clearer, let's try to install the module called Try::Tiny.
It has its description both on Meta CPAN and onsearch.cpan.org. Both have the Download linksthat we won't click on.
Cases
Strawberry Perl or DWIM Perl on Windows
Strawberry Perl,comes with an already configured cpan client. We will use this client to install modules directly from CPAN:
Open the Command Window (Start -> Run -> type in cmd) When you get the 'DOS' prompttype in cpan Path::Tiny.Please note, module names are case sensitive,so typing cpan path::tiny or cpan PATH::TINY will not work!
Also, in normal circumstances, the cpan client is expecting the full name of the module, not one part of the name,and not the name of the zip-file.So cpan Path or cpan Tiny will attempt to install different modules.(One called Path, the other one called Tiny.)
What you need to do is type in:
ActivePerl

There is a graphical tool for this as well, but it might be more simple just to open theCommand Window (Start -> Run -> type cmd). When you get the 'DOS' prompt, type inppm install Path::Tiny. Please note, this too is case sensitive!
The problem you might encounter is that this command uses the 'CPAN store' of ActiveState that for varioustechnical and legal reasons does not carry all the the modules from CPAN. It can also be out-of datecarrying older versions of the modules. On newer versions of ActivePerl you can also enable a realcpan-client that will access the CPAN server just as it does in the case of Strawberry/DWIM Perl above.
GitPerl
TBD.
Cygwin Perl
TBD. Cygwin.
Debian/Ubuntu Linux
If you have root rights, and if you use the system perl located in /usr/bin/perl,then probably the best is to try to install from the package management system of your Linux distribution.If you don't have root rights, you could ask your system administrator to do it on your behalf.
Apparently there is a nice way to find out if a Perl module is on Debian or Ubuntu.
If the module you are looking for is not available in the repositories of your Debian/Ubuntu/etc. distribution(and there are only about 10% of the modules available), or if you don't use the system Perl,then you can follow the instructions with cpan/cpanm below.
Mac Perl Install
To install for the system-perl as root you can use either aptitude or apt-getdepending on your personal preferences.
If the name of the module in Perl-land is Path::Tiny, then the name of the package in Debian/Ubuntu-landis most likely going to be libpath-tiny-perl.
RedHat/Fedora/CentOS Linux
Just as in the case of Debian/Ubuntu above, the instructions here are relevant ifyou use the system perl located in /usr/bin/perl and if you haveroot rights:
Using the package management system:
As Dave Cross mentioned, if you don't know the name of the RH package, you can also use
The subtle difference is that the former installs the named RPM whereas the secondinstalls the RPM that provides the named Perl module.
So if you would like to install the Path::Tiny module then the second command isactually the better one.
If your vendor does not carry this Perl package, you can add other RPM repositories.Check out EPEL, andthe Magnum Solutions CPAN RPM Repositorymaintained by Dave Cross.
Mac OSX
Follow the instructions with cpan/cpanm below.
Using the cpan client
Perl Get Version
While the cpan program comes with most operating system,and it works well after some configuration, there is probably a better,and certainly lighter solution called cpan minus or cpanm.
Using cpanm
This is for Linux and OSX systems. (For Windows, see described above.)
First, if you don't have it installed yet,then install cpan minus by typing
Once it is installed type:
If you still have questions related to the installation of Perl modules,please ask them below! I'll try to update this articleto answer those questions and to explain other situations.

Specific instructions for
TODO
Separate explanation of installing using cpan/cpanm as root stepping on the system perl, using local::lib to install in a private directory while using system perl.
Using a manually compiled perl.
Using perlbrew, creating 'virtual environments'.
Published on 2014-03-13

Comments
In the comments, please wrap your code snippets within <pre> </pre> tags and use spaces for indentation.Please enable JavaScript to view the comments powered by Disqus.comments powered by DisqusLatest Version:
ActivePerl 5.28.1 LATEST
Requirements:
Mac OS X 10.11 or later
Author / Product:
ActiveState / ActivePerl for Mac
Old Versions:
Filename:
ActivePerl-5.28.1.2801-darwin-13.4.0.pkg
MD5 Checksum:
fadb02a963e425b6571a60d6ee39c0d4
Details:
ActivePerl for Mac 2020 full offline installer setup for Mac
ActivePerl for macOS
Perl Download For Windows
includes the top Perl packages, pre-verified to ensure against outdated or vulnerable versions, incompatibility and improper licensing.Activestate Perl Download
Perl Download Free
- Essential tools for Perl development including CGI scripting, debugging, testing and other utilities
- Major components such as OLE Browser, PerlScript, Perl for ISAPI, PerlEx and Perlez
- Windows scripting with specific documentation for Active Perl on Windows
- Access to the PPM Index for easy searching of an additional 10,000 third-party Perl modules
Mac Perl Update
Features and Highlights
Reduce Security Risks
Ensure security with the latest secure versions of Perl packages (i.e. the latest OpenSSL patch) and timely updates for critical issues.
Ensure License Compliance
Comply with your organization’s open source policies against GPL and GNU licensing, and reduce risk with legal indemnification.
Commercial Support & Maintenance
Keep your IP out of public forums and get faster, more reliable help with guaranteed response times and Service-Level Agreements
Enforce Code Consistency
Maintain consistency from desktop to production – Windows, macOS, Linux and big iron (AIX, Solaris, HP-UX).
Avoid Lock-In with Open Source
100% compatible with open source Perl so you can recruit skilled staff, ramp up faster and avoid vendor lock-in.
Accelerate Time to Market
Spend less time setting things up and more time getting things done, with the top Perl packages precompiled and ready to go.
Also Available: Download ActivePerl for Windows
