Software Deployment
Obtaining the Software Package and Verifying Its Integrity
- Obtain the software digital certificate and software package from the Kunpeng community.
Obtain BoostKit-kdadk_1.1.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 Software Package
Million-rule Multi-Pattern Matcher (MMPM) is a multi-pattern rule matching software package, which accelerates matching of massive-scale fixed-length rules or matching of hundreds of thousands of variable-length rules.
- Obtain the MMPM software package BoostKit-kdadk_1.1.zip described in Software Requirements.
- Decompress BoostKit-kdadk_1.1.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.
- Enable MMPM.When compiling you program that includes the mmpm.h header file and related MMPM functions, for example with GCC, you can link the MMPM library by adding -lmmpm in the compilation and linking command. 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