Installing ActivePerl for Linux
- Hardware: 200 MB hard disk space for typical install
- Operating System: Linux distribution using glibc 2.15 or later (e.g. Ubuntu 12.04)
- Online Help: Web browser
Installing ActivePerl on Linux
The installer allows installation as an unprivileged user into a user-specified path. GNU tar is required for extracting the files. See Known Issues in the ActivePerl Release Notes for details.
Download the distribution to a temporary directory, extract the files, switch to the extracted ActivePerl directory, and then run the script
The installation script will prompt you to accept the license agreement and to specify the target installation directory.
% tar zxf ActivePerl-<version>.tar.gz % cd ActivePerl-<version>/ % ./install.sh
If you share the system with other people, or if you do not have root access, it is recommended that you install ActivePerl in your own user directory. For example:
We suggest adding the following line to your shell configuration file (e.g. .profile, .bashrc, or .cshrc) file to auto-load this path whenever you open a new terminal window, log on, etc.:
Also, we suggest that you create symbolic links to the binaries:
mkdir /home/<username>/bin ln -s /home/<username>/ActivePerl-5.26/bin/perl /home/<username>/bin/perl
This will allow you to call ActivePerl with a command like:
perl -e 'print "Hello World!\n"'
Uninstalling ActivePerl on Linux
You can uninstall ActivePerl by removing the directory where it was installed, because the ActivePerl installation is fully contained in that directory. For example:
sudo /bin/rm -rf /opt/ActivePerl-5.26