LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-19-2009, 11:25 AM   #1
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Rep: Reputation: 15
how to install wireshark in CentOS 5 kelnel 2.6 server?


how to install wireshark in CentOS 5 kelnel 2.6 server?
 
Old 11-19-2009, 11:38 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
yum install wireshark
 
Old 11-19-2009, 10:10 PM   #3
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Original Poster
Rep: Reputation: 15
hi experts,
yum install wireshark will not work in my system. yum not installed.
i tried to install with rpm, it shows it is installed but wireshark not working. Any help?
 
Old 11-19-2009, 11:03 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
yum is installed by default on all Centos5 versions. Do you have root privileges?
 
Old 11-20-2009, 02:41 AM   #5
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Original Poster
Rep: Reputation: 15
i tried but getting below error,i have root privillages.

# yum install wireshark
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: base
 
Old 11-20-2009, 03:09 AM   #6
masatheesh
Member
 
Registered: Aug 2007
Distribution: CentOS 5.0,CentOS 5.5
Posts: 47

Rep: Reputation: 15
You can try with binary format instead of rpm.It may easy than rpm.I have also done the same thing.
 
Old 11-20-2009, 08:10 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
yum is obviously installed on your system. Ok, the address you are trying to reach looks good. Can your reach that address through your browser? I can. Are you running through a proxy?
 
Old 11-23-2009, 07:06 AM   #8
malli42108
Member
 
Registered: Jul 2009
Posts: 37

Original Poster
Rep: Reputation: 15
configuration failure for wireshark?

hi, i downloaded wireshark-1.2.4.tar.bz2 and trying to install.
When i given ./configure am getting below error.

configure: error: Header file pcap.h not found; if you installed libpcap
from source, did you also do "make install-incl", and if you installed a
binary package of libpcap, is there also a developer's package of libpcap,and did you also install that package?
 
Old 11-23-2009, 10:28 AM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
When you compile stuff on RH based systems you need the -devel of all the dependencies.

Still waiting for replies on #7.

If you insist on compiling yourself, save yourself a lot of headache and grab the source rpm. You can extract the spec file which will show you all the files you need to build it, including patches. It will also tell you any other tricks that are required to build it properly. This applies to compiling any package.
 
  


Reply



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
Wireshark not running on CentOS? deostroll Linux - Software 14 08-18-2009 10:42 AM
Centos - Installing & Using Wireshark tn_nayak Linux - Software 3 09-20-2008 03:24 AM
Wireshark Install On CentOS 64bit krams Linux - Newbie 3 04-24-2007 04:35 PM
Mplayer Plugin does not work anymore after Kelnel upgrade Blue Jacket Ubuntu 4 02-04-2006 04:26 AM
problem with install on centos server elrehab Linux - Software 1 10-05-2005 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 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
Open Source Consulting | Domain Registration