Recently, I tried to install perl module Net::Packet and Net::Pcap through cpan but it complained that it cannot find pcap library. So I was searching if cpan would accept e
This fixed my issue:
yum -y install perl-Net-Pcap libpcap-devel