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-20-2011, 01:22 PM   #1
salin
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Unhappy use pcap package


Hi
i'm really new in linux world,i have the last version of ubuntu and trying to compile a c++ code using gedit and terminal.
I want to use pcap library in my code but i don't know how to install it in ubuntu

help,please!
 
Old 09-21-2011, 05:07 AM   #2
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
Welcome to LQ.


Installing "pcap" in Ubuntu : sudo apt-get install libpcap-dev
http://packages.ubuntu.com/natty/libpcap0.8
http://packages.ubuntu.com/natty/libpcap-dev
http://packages.ubuntu.com/natty/libpcap0.8-dev

..

Last edited by knudfl; 09-21-2011 at 05:10 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
pcap send quantt Programming 0 09-03-2009 04:55 PM
PCAP library ani09 Linux - Networking 1 12-12-2007 09:12 AM
pcap error ilnli Programming 2 05-26-2007 07:47 PM
Programming w/ pcap Rawjoe Programming 2 12-07-2006 09:55 AM
Questions on pcap.h Traveler_Q Programming 2 02-25-2004 04:03 PM


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