How to Install and Uninstall python2-snimpy Package on openSUSE Leap

Last updated: May 13,2024

1. Install "python2-snimpy" package

Please follow the instructions below to install python2-snimpy on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-snimpy

2. Uninstall "python2-snimpy" package

Please follow the step by step instructions below to uninstall python2-snimpy on openSUSE Leap:

$ sudo zypper remove python2-snimpy

3. Information about the python2-snimpy package on openSUSE Leap

Information for package python2-snimpy:
---------------------------------------
Repository : Main Repository
Name : python2-snimpy
Version : 0.8.13-bp153.1.16
Arch : x86_64
Vendor : openSUSE
Installed Size : 280,9 KiB
Installed : No
Status : not installed
Source package : python-snimpy-0.8.13-bp153.1.16.src
Summary : Interactive SNMP tool
Description :
Snimpy is a Python-based tool providing a simple interface to build
SNMP query. You can either use Snimpy interactively through its console
(derived from Python own console or from IPython_ if available) or write
Snimpy scripts which are just Python scripts with some global variables
available.
Snimpy is aimed at being the more Pythonic possible. You should forget
that you are doing SNMP requests. Snimpy will rely on MIB to hide SNMP
details. Here are some "features":
* MIB parser based on libsmi (through CFFI)
* SNMP requests are handled by PySNMP (SNMPv1, SNMPv2 and SNMPv3
support)
* scalars are just attributes of your session object
* columns are like a Python dictionary and made available as an
attribute
* getting an attribute is like issuing a GET method
* setting an attribute is like issuing a SET method
* iterating over a table is like using GETNEXT
* when something goes wrong, you get an exception