Rate This Document
Findability
Accuracy
Completeness
Readability

Software Deployment

Obtaining the Software Package and Verifying Its Integrity

  1. Obtain the software digital certificate and software package from the Kunpeng community.

    Obtain BoostKit-kdadk_1.1.zip described in Software Requirements.

    Before using the software package, read and agree to Kunpeng BoostKit User License Agreement 2.0.

  2. Obtain the verification tool and guide.
  3. 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.

  1. Obtain the MMPM software package BoostKit-kdadk_1.1.zip described in Software Requirements.
  2. Decompress BoostKit-kdadk_1.1.zip to obtain the MMPM binary RPM package.
  3. 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.

  4. 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