Environment
-
NetIQ UNIX Agent 7.1
-
AppManager UNIX
Situation
How do I import additional Perl modules for use in AppManager for UNIX knowledge scripts?
Resolution
It is possible to install new Perl modules within the UNIX Agent's Perl distribution. However, if you choose to attempt this, please keep the following in mind:
- Installing and utilizing additional Perl modules within the NetIQ UNIX Agent is not tested and may create an unstable Agent environment.
- There is no automated way to install additional Perl modules at this time.
- Change to the netiq/AM directory
-
Execute the following to setup the UNIX Agent libraries:
'export LD_LIBRARY_PATH=/usr/netiq/AM/lib/:$LD_LIBRARY_PATH' -
Execute the cpan application to install additional Perl modules:
'./bin/cpan MODULE::NAME' -
Accept the default options, select a mirror near you.
- For more information on using cpan, see http://www.cpan.org/misc/cpan-faq.html
Cause
The NetIQ UNIX agent includes its own Perl distribution to create a known Perl environment to execute its Perl based Knowledge Scripts within.
Additional Information
Formerly known as NETIQKB72391