This can be done by yum install libpcap-devel
Below is a trace of running it on CentOS
[root@webhost-01 ~]# yum install libpcap-devel
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink | 10 kB 00:00:00
* base: mirror.realcompute.io
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: mirror.realcompute.io
* updates: mirror.realcompute.io
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/2): epel/x86_64/updateinfo | 1.0 MB 00:00:00
epel/x86_64/primary_db FAILED
http://fedora.mirror.serversaustralia.com.au/epel/7/x86_64/repodata/aac7d1bf9045f059c953fc6dd1299f734b2f8b841c94e9bea80f1ac4788fbe35-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
(2/2): epel/x86_64/primary_db | 6.9 MB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package libpcap-devel.x86_64 14:1.5.3-12.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
libpcap-devel x86_64 14:1.5.3-12.el7 base 118 k
Transaction Summary
========================================================================================================================================================================
Install 1 Package
Total download size: 118 k
Installed size: 163 k
Is this ok [y/d/N]: Y
Downloading packages:
libpcap-devel-1.5.3-12.el7.x86_64.rpm | 118 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 14:libpcap-devel-1.5.3-12.el7.x86_64 1/1
Verifying : 14:libpcap-devel-1.5.3-12.el7.x86_64 1/1
Installed:
libpcap-devel.x86_64 14:1.5.3-12.el7
Complete!
References:
https://centos.pkgs.org/7/centos-x86_64/libpcap-devel-1.5.3-12.el7.x86_64.rpm.html
No comments:
Post a Comment