Software Deployment
Obtaining the Software Package and Verifying Its Integrity
- Obtain the software digital certificate and software package from the Kunpeng community.
Obtain the Boostkit-boostida-kdadk-mmpm-2.5.3.zip software package as instructed in Table 2.
- 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
KDADK-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 KDADK-MMPM software package Boostkit-boostida-kdadk-mmpm-2.5.3.zip as instructed in Table 2.
- Decompress Boostkit-boostida-kdadk-mmpm-2.5.3.zip to obtain the KDADK-MMPM binary RPM package.
- Install KDADK-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 KDADK-MMPM.
When using KDADK-MMPM, you need to include the mmpm.h header file in the program and call the KDADK-MMPM-related functions. For example, with GCC, you can link the library by adding -lmmpm in the compilation and linking command. For details, see the example in API Usage Example.
gcc your_program.c -o your_program -lmmpm
Successful compilation and normal execution of your program indicate that KDADK-MMPM has been successfully enabled.