Installing Perl on *Nix Systems

From Wikiversity

Jump to: navigation, search
Crystal Clear app kaddressbook.png
Please help develop this page

This page was created, but so far, little content has been added. Everyone is invited to help expand and create educational content for Wikiversity. If you need help learning how to add content, see the editing tutorial and the MediaWiki syntax reference.

To help you get started with content, we have automatically added references below to other Wikimedia Foundation projects. This will help you find materials such as information, media and quotations on which to base the development of "Installing Perl on *Nix Systems" as an educational resource. However, please do not simply copy-and-paste large chunks from other projects. You can also use the links in the blue box to help you classify this page by subject, educational level and resource type.

Commons-logo.svg Search Wikimedia Commons for images, sounds and other media related to: Installing Perl on *Nix Systems
Wikimedia-logo.svg Search for Installing Perl on *Nix Systems on the following projects:
Smiley green alien whatface.svg Lost on Wikiversity? Please help by choosing project boxes to classify this resource by:

[edit] Installing for Beginners

In almost all cases, Perl comes as an installable package or already pre-installed on most modern Unix variants. You simply have to choose the appropriate version and use the built-in tools that come with your Unix variant to add Perl to your system.

[edit] Advanced Installation

For advanced installation, you must first obtain the Perl source code. Perl sources comes with a powerful tool called configure, which uses simple shellscripts and small c programs to determine what is installed on the target system, so it can build a proper Perl executable. A C compiler is necessary for compilation from sources.

The following

./configure
make

run from a command shell would run the configure program and then the make facility to build the binary.

A

make install

would require root priviledge, but would install the binaries in a directory where all users could access the program.

[edit] Recommended Resources

Main Perl Site