Net SNMP
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. Anyone can help me? Regards, Wim |
Hi
If you have an rpm based system you can issue the following command on the CLI rpm -qa | grep snmp Once you have found the correct rpm issue this command on the CLI rpm -i (the net-snmp result from the last command) Or you can type at the CLI snmpwalk -V This will give you the version. To uninstall it type at the CLI rpm -e (the net-snmp result of the rpm -qa command) Kind Regards James |
If you are not on a rpm-distro you could find / | grep snmp
|
Quote:
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 |
All times are GMT -5. The time now is 04:12 AM. |