How To Install python3-net-snmp on Fedora 36
Introduction
In this tutorial we learn how to install python3-net-snmp
on Fedora 36.
What is python3-net-snmp
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
or dnf
to install python3-net-snmp
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-net-snmp.
Install python3-net-snmp on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-net-snmp
using dnf
by running the following command:
sudo dnf -y install python3-net-snmp
Install python3-net-snmp on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-net-snmp
using yum
by running the following command:
sudo yum -y install python3-net-snmp
How To Uninstall python3-net-snmp on Fedora 36
To uninstall only the python3-net-snmp
package we can use the following command:
sudo dnf remove python3-net-snmp
python3-net-snmp Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/e8c9a1dd5f1b636234636a8d54e303265b0dfb
/usr/lib64/python3.10/site-packages/netsnmp
/usr/lib64/python3.10/site-packages/netsnmp/__init__.py
/usr/lib64/python3.10/site-packages/netsnmp/__pycache__
/usr/lib64/python3.10/site-packages/netsnmp/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/netsnmp/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/netsnmp/__pycache__/client.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/netsnmp/__pycache__/client.cpython-310.pyc
/usr/lib64/python3.10/site-packages/netsnmp/client.py
/usr/lib64/python3.10/site-packages/netsnmp/client_intf.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/netsnmp/tests
/usr/lib64/python3.10/site-packages/netsnmp/tests/__init__.py
/usr/lib64/python3.10/site-packages/netsnmp/tests/__pycache__
/usr/lib64/python3.10/site-packages/netsnmp/tests/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/netsnmp/tests/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/netsnmp/tests/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/netsnmp/tests/__pycache__/test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/netsnmp/tests/test.py
/usr/lib64/python3.10/site-packages/netsnmp_python-1.0a1-py3.10.egg-info
/usr/lib64/python3.10/site-packages/netsnmp_python-1.0a1-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/netsnmp_python-1.0a1-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/netsnmp_python-1.0a1-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/netsnmp_python-1.0a1-py3.10.egg-info/top_level.txt
/usr/share/doc/python3-net-snmp
/usr/share/doc/python3-net-snmp/README
References
Summary
In this tutorial we learn how to install python3-net-snmp
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).