How To Install net-snmp-python.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install net-snmp-python.x86_64 on Amazon Linux 2.
What is net-snmp-python.x86_64
The ’netsnmp’ module provides a full featured, tri-lingual SNMP (SNMPv3, SNMPv2c, SNMPv1) client API. The ’netsnmp’ module internals rely on the Net-SNMP toolkit library.
We can use yum to install net-snmp-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install net-snmp-python.x86_64.
Install net-snmp-python.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install net-snmp-python.x86_64 using yum by running the following command:
sudo yum -y install net-snmp-python.x86_64
How To Uninstall net-snmp-python.x86_64 on Amazon Linux 2
To uninstall only the net-snmp-python.x86_64 package we can use the following command:
sudo yum remove net-snmp-python.x86_64
net-snmp-python.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/netsnmp
/usr/lib64/python2.7/site-packages/netsnmp/__init__.py
/usr/lib64/python2.7/site-packages/netsnmp/__init__.pyc
/usr/lib64/python2.7/site-packages/netsnmp/__init__.pyo
/usr/lib64/python2.7/site-packages/netsnmp/client.py
/usr/lib64/python2.7/site-packages/netsnmp/client.pyc
/usr/lib64/python2.7/site-packages/netsnmp/client.pyo
/usr/lib64/python2.7/site-packages/netsnmp/client_intf.so
/usr/lib64/python2.7/site-packages/netsnmp/tests
/usr/lib64/python2.7/site-packages/netsnmp/tests/__init__.py
/usr/lib64/python2.7/site-packages/netsnmp/tests/__init__.pyc
/usr/lib64/python2.7/site-packages/netsnmp/tests/__init__.pyo
/usr/lib64/python2.7/site-packages/netsnmp/tests/test.py
/usr/lib64/python2.7/site-packages/netsnmp/tests/test.pyc
/usr/lib64/python2.7/site-packages/netsnmp/tests/test.pyo
/usr/lib64/python2.7/site-packages/netsnmp_python-1.0a1-py2.7.egg-info
/usr/lib64/python2.7/site-packages/netsnmp_python-1.0a1-py2.7.egg-info/PKG-INFO
/usr/lib64/python2.7/site-packages/netsnmp_python-1.0a1-py2.7.egg-info/SOURCES.txt
/usr/lib64/python2.7/site-packages/netsnmp_python-1.0a1-py2.7.egg-info/dependency_links.txt
/usr/lib64/python2.7/site-packages/netsnmp_python-1.0a1-py2.7.egg-info/top_level.txt
/usr/share/doc/net-snmp-python-5.7.2
/usr/share/doc/net-snmp-python-5.7.2/README
References
Summary
In this tutorial we learn how to install net-snmp-python.x86_64 on Amazon Linux 2 using yum.