How To Install Cpan On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

How To Install Cpan On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS?

cpan

Perl is a high-level programming language with roots in C, sed,

Maintainer: Niko Tyni



Section: perl

Install cpan

  • Debian apt-get install perl Click to copy
  • Ubuntu apt-get install perl Click to copy
  • Alpine OS apk add perl Click to copy
  • Arch Linux pacman -S perl Click to copy
  • Kali Linux apt-get install perl Click to copy
  • CentOS yum install perl-CPAN Click to copy
  • Fedora dnf install perl-CPAN Click to copy
  • Raspbian apt-get install perl Click to copy
  • macOS brew install perl Click to copy
Installation of latest cpan command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.