I need to install ActivePerl in a custom directory on Solaris without any user interaction. How can I do that?
There are two ways to install ActivePerl in a custom directory on Solaris such that the installation can be run unattended.
The first is to use the "--license-accepted --prefix /path/to/install/to" arguments to the install.sh provided in the Tar/Gzip ActivePerl package:
gnutar zxf ActivePerl-solaris-package.tar.gz cd ActivePerl-directory sh install.sh --license-accepted --prefix /opt/ActiveState/ActivePerl
The above can be used in a shell script, for example.
Alternatively, you can make your own Solaris package. This has the benefit of registering ActivePerl with the Solaris packaging system, making upgrades easier in some cases. A good tutorial on making Solaris packages can be found here: