Can't locate net/snmp. PM in @ INC .....

Source: Internet
Author: User
Tags crypt snmp

Ow do I install net: SNMP Perl module? There are 2 ways of doing this
1) by CPAN (BEST) 
On command line, as root:

[Your_host] #Perl-mcpan-e Shell 
CPAN shell -- CPAN registration and modules installation (v1.76)
Readline support enabled
CPAN>Install net: SNMP 

If it's the first time you run CPAN, it will probably ask you some (simple) questions.
CPAN will also ask you to satisfy some dependencies (crypt: Des, Digest: MD5, Etc ..).
2) "by hand" 

Get the folowings modules (tar.gz format) on www.cpan.org
-Crypt: des
-Digest: MD5
-Digest: sha1
-Digest: HMAC
-Net: SNMP

-Net: DNS


For each one (you must install net: SNMP at the end ):
Tar zxf <module> .tar.gz
CD <module>
Perl makefile. pl
Make Test
Make install

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.