Install perl

From The Network People, Inc. - Wiki
Jump to navigation Jump to search

Mail Toaster is written in Perl. Certain programs (like SpamAssassin) require perl 5.8.1 or higher to function optimally. To determine what version of perl you are running:

perl -v

If you are using a version older than 5.8.1, you must update it. How you do this will vary based on your Operating System.


FreeBSD

Install package:

pkg install perl5

or from FreeBSD ports:

cd /usr/ports/lang/perl5.16;
make install clean;


Installing the package is much faster. If you are running an older release of FreeBSD, you should update your ports tree and install the latest version in ports.



Darwin (Mac OS X)

Current releases of perl are included, and Apple keeps perl updated with major OS releases. However, you do have two alternate tasks:


Linux

Make sure the latest version of Perl (5.8.5+) is installed. This will vary based on your distro. See the docs for your distro for the best way to do this. Many distros have CPAN pre-configured.


Other OS

Most UNIX-like platforms now include a modern (5.8.1+) version of perl.