LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2003, 05:33 AM   #1
WiWa
Member
 
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82

Rep: Reputation: 15
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
 
Old 11-05-2003, 06:00 AM   #2
wellsaj
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 11-05-2003, 06:28 AM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
If you are not on a rpm-distro you could find / | grep snmp
 
Old 03-19-2004, 11:41 PM   #4
rstory
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Quote:
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
net-snmp : perl(tk) shivaligupta Linux - Software 0 02-03-2005 12:18 PM
Net-SNMP and MRTG Astro Linux - Networking 5 07-25-2003 04:24 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration