LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-07-2008, 01:49 PM   #1
abhijit_mohanta
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Rep: Reputation: 15
upgrading versions?


i am using redhat linux 3.it has version 3.0 installed by default.
I downloaded the version 4.2 tar file.i installed after unzipping the tar file then configure,make , and make install command.it showed that it has been installed successfully.but namp -version command still shows 3.0 version.how to upgarde to new version .please help.
 
Old 04-07-2008, 02:58 PM   #2
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Will you post the complete name of that tar file?
 
Old 04-07-2008, 03:12 PM   #3
manulite
LQ Newbie
 
Registered: Jul 2003
Location: Harare, Zimbabwe
Distribution: openSUSE 10.3
Posts: 24

Rep: Reputation: 15
Sounds like a PATH issue. When you compiled your application, it got installed in a location which is not on your path e.g /usr/local/bin

You will need to add that location to your path
 
Old 04-09-2008, 12:25 PM   #4
abhijit_mohanta
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
tar file url

http://nmap.org/dist/nmap-4.60.tgz
 
Old 04-09-2008, 01:04 PM   #5
abhijit_mohanta
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
the new binary file of namp(v 4.8) is located at /usr/local/bin

and the default nmap( V 3.0)is perhaps at /usr/bin

when i type the command echo $PATH$
then it shows both the directories are in the path variable
.when i type nmap -version it shows version 3.0 only.so tell me how to proceed.

Last edited by abhijit_mohanta; 04-09-2008 at 01:07 PM.
 
Old 04-09-2008, 02:17 PM   #6
manulite
LQ Newbie
 
Registered: Jul 2003
Location: Harare, Zimbabwe
Distribution: openSUSE 10.3
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by abhijit_mohanta View Post
the new binary file of namp(v 4.8) is located at /usr/local/bin

and the default nmap( V 3.0)is perhaps at /usr/bin

when i type the command echo $PATH$
then it shows both the directories are in the path variable
.when i type nmap -version it shows version 3.0 only.so tell me how to proceed.
This means that /usr/bin comes first before /usr/local/bin so the nmap in /usr/bin is found first and is executed.

You can do one of the following:
1. call the new nmap using the full path as:
Code:
/usr/local/bin/nmap -version
2. modify your path so that /usr/local/bin comes before /usr/bin. (might not be a very good idea)
3. uninstall the old nmap version
4. mv /usr/bin/nmap to something like /usr/bin/nmap.old. You can then move it back if you want the old version.

Last edited by manulite; 04-09-2008 at 02:19 PM. Reason: correcting grammar
 
  


Reply

Tags
help, upgrade


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
General question about versions and upgrading and distribution recommendation therobbot Linux - Distributions 9 12-26-2006 11:11 AM
gcc versions compatibility with kernel versions.. mahesh_manthapuri Suse/Novell 1 03-22-2006 01:28 AM
Upgrading Fluxbox (two versions at once) jrdioko Linux - Software 5 02-22-2005 12:46 AM
Upgrading from different versions(possible)? trinitycomu Linux - Software 1 06-06-2004 09:52 AM
Basic Slack Question (Upgrading versions) Poetics Slackware 7 05-19-2004 12:34 PM


All times are GMT -5. The time now is 09:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration