Originally posted by WiWa
I would like to find out what version I'm using of Net SNMP.
Afterwards, I would like to uninstall that version completely and I would like to re)install the latest tar.gz file (using ./configure, make, make install)
I would like to install the new version under /usr/local...and I'm afraid my previous version is installed somewhere else, I don't know why.
To find out what version you have, 'snmpget -V'.
If you have an rpm installed ('rpm -q net-snmp'), use the instructions someone else posted. Otherwise, you have to jump through some hoops. This *might* work..
1) get the latest source, and unzip it
2) find the install location for the previous location ('which snmpget', minus the /bin/snmpget)
3) configure the newest version (5.1 or later) like so:
./configure --prefix=/path/from/step2 --with-defaults
4) then 'make uninstall'
5) clean up with 'make distclean'
6) install new version with ./configure, make, make install