How can I install libpcap header files on Ubuntu 12.04?
When I use
apt-get install libpcap I receive following message:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libpcap
To install libpcap open a terminal by pressing Ctrl+Alt+Tand type:
to install libpcap. try these commands
I try and install it on Ubuntu 14.04 "Trusty Tahr" trough the method suggested by Wajid and Jos, but it is better to check first the final release into the tcpdump release, then choose what you need, and install it in the way he suggested. Of course replace the release with the wished one.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?