Installing libpcap-devel
libpcap-devel is installed to support the network listening function of MongoDB. libpcap-devel is a network packet capture library. It provides a set of APIs to capture and process network packets on Linux. MongoDB uses this library to listen to network traffic and capture MongoDB packets.
- Download libpcap-devel-1.9.1-5.
1wget http://mirror.centos.org/centos/8-stream/PowerTools/aarch64/os/Packages/libpcap-devel-1.9.1-5.el8.aarch64.rpm --no-check-certificate
- Install libpcap-devel.
1yum install -y libpcap-devel-1.9.1-5.el8.aarch64.rpm
- libpcap-devel is the dependency required for compiling and installing MongoDB Tools.
- If you run the yum install command to install the RPM package, the RPM package automatically adapts to the current RPM version. You are advised to use the current installation method.

Parent topic: Installing by Compiling Source Code