Template:FAQ:Perl 02

From Net-SNMP Wiki
Jump to: navigation, search

Assuming you have a reasonably new (and properly configured) Perl system, this should be simply:

     cd perl
     perl Makefile.PL
       (press RETURN when prompted for host and community)
     make
     make test
     make install  (probably as root)

It might be possible to install the basic module using

       perl -MCPAN -e shell ; "install SNMP"

but this has not been reliably tested, and very much relies on having the correct version of the Net-SNMP library.

There may also be appropriate pre-compiled versions of the Perl modules available from the Net-SNMP project website, or your O/S vendor.