Software Deployment
Obtaining the Software Package and Verifying Its Integrity
- Obtain the software digital certificate and software package from the Kunpeng community.
Obtain BoostKit-dadk_1.0.zip described in Software Requirements.
- Obtain the verification tool and guide.
- Verify the package integrity by following instructions in the OpenPGP Signature Verification Guide obtained in step 2.
Installing the Acceleration Library
MMPM is a multi-pattern rule matching software package, which accelerates matching of massive-scale fixed-length rules or matching of 100,000 variable-length rules.
- Obtain the MMPM software package BoostKit-dadk_1.0.zip described in Software Requirements.
- Decompress BoostKit-dadk_1.0.zip to obtain the MMPM binary RPM package.
- Install MMPM.
rpm -ivh mmpm-xxxx.aarch64.rpm

After the installation is complete, the dynamic library is installed to /usr/local/lib, and the header file of the public function API is saved to /usr/local/include.
In the preceding command, xxxx indicates the version.
- Use MMPM.To integrate MMPM into your application, include mmpm.h in your source code and use MMPM-related functions. When compiling and linking your application, for instance with the GCC, simply specify the MMPM library using the -lmmpm flag. Successful compilation and normal execution of your program indicate that MMPM has been successfully enabled. For details, see API Usage Example.
gcc your_program.c -o your_program -lmmpm
Parent topic: Massive-scale Rule Matching