DEV Community

Yuki Kimoto
Yuki Kimoto

Posted on

Perl Download and Installation 2022

Explains how to download and install Perl on Windows, Mac, and Linux/UNIX.

This article is originally Perl Download and Installation | Perl ABC

Installation of Perl on Windows

Let's install Perl on Windows. I explain the way to use Strawberry Perl, ActivePerl, and msys2.

Installation of Strawberry Perl

Strawberry Perl is one of the Perl distributions on Windows. Strawberry Perl is easy to install and has the C language compiler MinGW and a CPAN module installer cpanm and often used C libraries.

Install Strawberry Perl on Windows

Installation of ActivePerl

ActivePerl is also a Perl distributions on Windows.

Install ActivePerl on Windows

Installation of msys2 and Perl

msys2 is a software to build a pseudo Linux environment on Windows.

Some of IPC don't work well on Windows Perl distributions, but all IPC work well on msys2.

For example, the development server of Mojolicious works well on msys2.

Installation of msys2 and Perl

Installation Perl on Mac

Perl is installed by default on Mac. you can start using Perl right away.

You can also install the latest Perl on your Mac.

Installation of Perl on Mac

Installation of Perl on Linux/UNIX

Perl is widely installed on Linux/UNIX by default.

If not, You can install the latest Perl on your Linux/UNIX.

Installation of Perl on Linux/UNIX

Top comments (2)

Collapse
 
matthewpersico profile image
Matthew O. Persico

You should add a blurb about WSL:

Installation of Perl on WSL
For WSL, you can use the same instructions as Installation of Perl on Linux/UNIX.

Collapse
 
yukikimoto profile image
Yuki Kimoto

Thank you. I want to add Perl on WSL in the near future.