LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Closed Thread
  Search this Thread
Old 11-19-2011, 08:48 PM   #1
howard0715
LQ Newbie
 
Registered: Nov 2011
Location: China
Posts: 1

Rep: Reputation: Disabled
install pcap.h


How to install the pcap.h in fedora-15?
The gcc error is :"fatal error: pcap/pcap.h: No such file or directory"
 
Old 11-20-2011, 02:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yum install libpcap-devel
 
1 members found this post helpful.
Old 04-17-2017, 02:06 PM   #3
vadim7692
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
fedora25

As in fedora25 install libpcap-devil
 
Old 04-17-2017, 03:14 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@howard0715 : Welcome to LQ.

'yum' can actually search for a package providing [file] :
Code:
yum provides */pcap.h
 
Old 04-17-2017, 03:19 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,761

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
knudfl,
The thread is ~6 years old...

vadim7692,
Welcome to LinuxQuestions. This is an English only thread and please do not resurrect old threads.
 
1 members found this post helpful.
  


Closed Thread



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
ngrep install error "couldn't find a complete set of pcap headers" packetsmacker Linux - Server 5 08-17-2012 03:16 PM
cannot install Net::Pcap on fedora12 singhabsk Linux - Software 4 11-18-2010 11:20 PM
Can't install Net::Pcap SlackN00b Slackware 11 02-25-2008 07:40 PM
Perl Net::Pcap install hang at loop test Bluesuperman Programming 1 08-17-2005 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:07 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