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 09-17-2011, 12:57 PM   #1
tpthomas76@gmail.com
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Error when installing nmap on Linux


I am new to Linux. I have RHEL4 running on a vmware workstation.
The following is my system info:
uname -a
2.6.9-89.EL #1 Mon Apr 20 10:23:08 EDT 2009 i686 i686 i386 GNU/Linux
I am trying to install nmap. But I have problems.
the following is an excerpt from my attempt: Please help.
rpm -vhU nmap-5.51-1.i386.rpm
error: Failed dependencies:
python >= 2.4 is needed by nmap-5.51-1.i386
rtld(GNU_HASH) is needed by nmap-5.51-1.i386[/B][/B]

-Tom
 
Old 09-17-2011, 01:02 PM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
For future reference it helps if you put the command line results in [code] tags so it doesn't look all jumbled together.

The error is indicating that there are some dependencies that are not installed. I've never used RHEL, but is there a package manager available for you to install the software from? In Fedora I always used:
Code:
urpmi packagename
Using the package manager should automatically install dependent software for you instead of just failing. If you want to install it using the downloaded rpm, try just manually installing the dependent package from the package manager, which appear to be python and rtld. I don't know why it's saying you don't have python installed, unless it's just a really old version, because I have never seen a Linux system that didn't come with python out of the box.
 
Old 09-17-2011, 01:58 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 2
urpmi packagename : That's Mandriva / Mandrake only !

Later RHEL, Fedora : # yum install <package>


# 1 : Welcome to LQ.
If you can't get nmap from RHEL with 'up2date' :
rpm -Uvh nmap-3.70-1.i386.rpm nmap-frontend-3.70-1.i386.rpm
http://mirror.centos.org/centos/4.9/os/
http://mirror.centos.org/centos/4.9/...6/CentOS/RPMS/

For nmap-5.51 : rpmbuild --rebuild nmap-5.51-1.src.rpm
http://security.nknu.edu.tw/textbook...5.51-1.src.rpm
.. And then install the "rpmbuild created" packages.

.

Last edited by knudfl; 09-17-2011 at 02:02 PM.
 
Old 09-17-2011, 02:53 PM   #4
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
Quote:
Originally Posted by knudfl View Post
# 2
urpmi packagename : That's Mandriva / Mandrake only !
Yeah it's been a while, I forgot about yum,
 
Old 09-18-2011, 09:55 PM   #5
tpthomas76
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
Thanks a million. It worked!

-Tom
 
Old 09-19-2011, 11:35 AM   #6
linux2001
Member
 
Registered: Sep 2011
Posts: 32

Rep: Reputation: Disabled
Mark this topic [RESOLVED].

java socket

Last edited by linux2001; 01-26-2012 at 08:31 AM.
 
  


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
nmap ? how do i do nmap in linux ? command not found abbasakhtar Linux - Newbie 2 01-02-2011 02:08 AM
LXer: Learn how to use nmap, and nmap GUI, a great port scan tool LXer Syndicated Linux News 0 01-03-2008 10:10 AM
nmap error on solaris10 ANU Solaris / OpenSolaris 10 05-29-2006 05:22 AM
Problems installing nmap thejoe526 Linux - Security 3 06-11-2004 05:37 PM
NMAP configure error amrogers3 Linux - Software 2 02-15-2004 10:23 AM


All times are GMT -5. The time now is 04:57 PM.

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