Welcome, and thank you for choosing ActivePerl.
C:\Perl64
C:\Perl
PERLLIB
, PERL5LIB
or PERL5OPT
have been set on your system, you should unset them before installing
ActivePerl. Otherwise, these variables may cause incompatible versions of
Perl modules to be used during the installation process.
Upgrading from earlier ActivePerl versions requires that you delete the old version of ActivePerl, and then install the 5.14.x version. This means that any additional packages that were installed using PPM must be manually reinstalled after the ActivePerl 5.14.x installation, so creating a list of these packages is an important first step.
You can use ppm profile to help save and restore your locally installed PPM packages. For example, to save a profile before you upgrade, you can type:
ppm profile save C:\profile.xml
Once you have saved this profile, you can proceed with the new install. Once done, you can use the profile you saved to reinstall the same set of PPM packages in your new installation by typing:
ppm profile restore C:\profile.xml
If you are using ActivePerl to serve CGI / ASP scripts using IIS or another Web server, stop the Web server before installing ActivePerl.
Do not install over a 500, 600, 800, 1000, or 1200 series build of ActivePerl. This package must be installed into a separate directory.
msiexec /i msi_file.msi
The ADDLOCAL command line property is used to specify which features should be installed. (If ADDLOCAL is not specified, all features are installed.) For example:
msiexec /i msi_file.msi ADDLOCAL="PERL_FEATURE,PERLIS"
The following features may be specified with the ADDLOCAL switch:
A set of command-line properties can be used to configure the installation. For example:
msiexec /i msi_file.msi TARGETDIR="c:\" PERL_PATH="Yes"
perl
.The following command-line switches can be used:
msiexec /i msi_file.msi /l log.txt
To enable verbose logging, use the *v
modifier with
the /l
command line option. For example:
msiexec /i msi_file.msi /l*v log.txt
If you run Perl at the command prompt, the script will be executed by the
first Perl.exe
it encounters in the list of paths in the PATH
environment variable. To ensure the script is executed by the Perl interpreter
of your choice, specify the complete path to the Perl.exe
you want
to use. (Typing perl -v
at the command prompt will tell you which
version of Perl is currently first in your PATH)
Installing ActivePerl will change your Path environment variable and may change registry settings, such as file associations, which may affect your Web server. If you want to use a previously installed copy of Perl, you will need to modify these settings.
ftype PerlScript=perl.exe %1 %* assoc .pl=PerlScript
ActivePerl is distributed on Mac OS X as a disk image (.dmg
file). The disk image contains an installer package (.pkg
bundle)
that installs ActivePerl.
ActivePerl-<version>-<platform>.dmg
).ActivePerl-<version>-<platform>.dmg
to do so.OS X includes a non-interactive command line interface to Apple's Installer. To install the ActivePerl Apple installer from the command line:
$ sudo installer -pkg /Users/<username>/ActivePerl-<version>.pkg -target /
More information on the command line interface to Installer can be
found in its man
page.
The Apple Installer package installs ActivePerl in /usr/local/ActivePerl-5.16. To run the perl interpreter and PPM package manager (without having to enter the full path), add /usr/local/ActivePerl-5.16/bin to your PATH environment variable. For example:
$ export PATH=/usr/local/ActivePerl-5.16/bin:$PATH $ export PATH=/usr/local/ActivePerl-5.16/site/bin:$PATH
To permanently add the directory to your PATH, add it to the
.profile
or .bash_profile
file in the user's home
directory. For example:
PATH=/usr/local/ActivePerl-5.16/bin:$PATH PATH=/usr/local/ActivePerl-5.16/site/bin:$PATH export PATH
Alternatively, symbolic links to the binaries can be created in any bin directory currently in the PATH. For example:
PATH=/Users/<username>/bin:$PATH $ ln -s /usr/local/ActivePerl-5.16/bin/perl /Users/<username>/bin/perl $ ln -s /usr/local/ActivePerl-5.16/bin/ppm /Users/<username>/bin/ppm
To uninstall ActivePerl, run the uninstall script:
$ sudo /usr/local/ActivePerl-5.16/bin/ap-uninstall
Removing ActivePerl will also remove perl modules manually installed using PPM.
If neccessary, remove any symbolic links created during configuration. For example:
$ rm /Users/<username>/bin/perl
% rpm -i ActivePerl-5.16.1.1601-i686-linux.rpm
This will install ActivePerl into /opt/ActivePerl-5.16.
To uninstall ActivePerl, run:
% rpm -e ActivePerl
The RPM package has only been tested with Red Hat 6.2, but is expected to be compatible with other Red Hat 6.2 compatible installations as well.
Note: Previous versions of ActivePerl were installed in
/usr/local
. Upgrading using rpm
will not remove
modules and documentation subsequently added using PPM or the CPAN shell,
nor will it move them to the new location in /opt
. These
modules must be reinstalled after the upgrade. The old ActivePerl directory
in /usr/local
can be removed.
Download the distribution to a temporary directory, extract the files,
chdir to the ActivePerl directory and then run the script install.sh
.
The installation script will prompt you for the target installation
directory.
% tar zxf ActivePerl-5.16.1.1601-i686-linux.tar.gz % cd ActivePerl-5.16.1.1601 % ./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:
/home/<username>/ActivePerl-5.16
We suggest adding the following line to your .bash_profile file:
PATH=$PATH:/home/<username>/bin
Also, we suggest that you create symbolic links to the binaries:
ln -s /home/<username>/ActivePerl-5.16/bin/perl /home/<username>/bin/perl ln -s /home/<username>/ActivePerl-5.16/bin/ppm /home/<username>/bin/ppm
This will allow you to call ActivePerl with a command like:
perl -le "Hello World!;"
The Red Hat and Debian packages are installed into the /opt/ActivePerl-5.16 directory. Add the /opt/ActivePerl-5.16/bin directory to your PATH environment variable to conveniently access it. For example, in the C shell:
% setenv PATH /opt/ActivePerl-5.16/bin:$PATH
The generic installer allows you to install the package anywhere that the user has write permission. Add the bin directory to your PATH environment variable to conveniently access it. For example, in the C shell (assuming you installed into /home/<username>/ActivePerl-5.16):
% setenv PATH /home/<username>/ActivePerl-5.16/bin:$PATH
dpkg -r ActivePerl
rpm -e ActivePerl
/bin/rm -rf /opt/ActivePerl-5.16
Access to the Solaris PPM repository requires an ActivePerl Business Edition license. To install this license:
chmod +x filename
`)./filename
`).% gunzip ActivePerl-5.16.1.1601-sun4-solaris.pkg.gz % pkgadd -d ActivePerl-5.16.1.1601-sun4-solaris.pkg
This will install ActivePerl into /opt/ActivePerl-5.16.
To uninstall ActivePerl, run:
% pkgrm ASperl
This package has only been tested with Solaris 2.6, but is expected to be compatible with other Solaris 2.6 compatible installations as well, including Solaris 7 and Solaris 8.
Download the distribution to a temporary directory, extract the files,
chdir
to the ActivePerl directory and then run the script
install.sh
. The installation script will prompt you for the
target installation directory.
% tar zxf ActivePerl-5.16.1.1601-sun4-solaris.tar.gz % cd ActivePerl-5.16.1.1601 % ./install.sh
If GNU tar is installed as 'gtar', substitute that executable name in the first command above.
The Solaris package is installed into the /opt/ActivePerl-5.16 directory. Add the /opt/ActivePerl-5.16/bin directory to your PATH environment variable to conveniently access it. For example, in the C shell:
% setenv PATH /opt/ActivePerl-5.16/bin:$PATH
The generic installer allows you to install the package anywhere that the user has write permission. Add the bin directory to your PATH environment variable to conveniently access it. For example, in the C shell (assuming you installed into /home/<username>/ActivePerl-5.16):
% setenv PATH /home/<username>/ActivePerl-5.16/bin:$PATH
pkgrm -d ASperl
/bin/rm -rf /opt/ActivePerl-5.16
Download
the distribution to a temporary directory, extract the files, chdir to
the ActivePerl directory and run the script
install.sh
.
$ tar zxf ActivePerl-5.16.1.1601-aix-5.3-<seq>.tar.gz $ cd ActivePerl-5.16.1.1601 $ ./install.sh
If GNU tar is installed as 'gtar', substitute that executable name in the first command above.
The installation script will prompt you for a target installation directory. If you share the system with other people, or if you do not have root access, you may install ActivePerl in your own user directory. For example:
/home/<username>/ActivePerl-5.16
We suggest adding the bin directory of the ActivePerl installation to your .profile file. For example:
PATH=$PATH:/home/<username>/ActivePerl-5.16/bin
Alternatively, create symbolic links to the binaries in a directory already in your path. For example:
$ ln -s /home/<username>/ActivePerl-5.16/bin/perl /home/<username>/bin/perl $ ln -s /home/<username>/ActivePerl-5.16/bin/ppm /home/<username>/bin/ppm
To uninstall ActivePerl, remove the directory ActivePerl was installed in. For example:
$ rm -rf /opt/ActivePerl-5.16
If neccessary, remove any symbolic links created during configuration. For example:
$ rm /Users/<username>/bin/perl
Download
the distribution to a temporary directory, extract the files, chdir to
the ActivePerl directory and run the script
install.sh
.
$ tar zxf ActivePerl-5.16.1.1601-PA-RISC-<seq>.tar.gz $ cd ActivePerl-5.16.1.1601 $ ./install.sh
If GNU tar is installed as 'gtar', substitute that executable name in the first command above.
The installation script will prompt you for a target installation directory. If you share the system with other people, or if you do not have root access, you may install ActivePerl in your own user directory. For example:
/home/<username>/ActivePerl-5.16
We suggest adding the bin directory of the ActivePerl installation to your .profile file. For example:
PATH=$PATH:/home/<username>/ActivePerl-5.16/bin
Alternatively, create symbolic links to the binaries in a directory already in your path. For example:
$ ln -s /home/<username>/ActivePerl-5.16/bin/perl /home/<username>/bin/perl $ ln -s /home/<username>/ActivePerl-5.16/bin/ppm /home/<username>/bin/ppm
To uninstall ActivePerl, remove the directory ActivePerl was installed in. For example:
$ rm -rf /opt/ActivePerl-5.16
If neccessary, remove any symbolic links created during configuration.