我要评分
获取效率
正确性
完整性
易理解

Software Deployment

Obtaining the Software Package and Verifying Its Integrity

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

    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

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.

  1. Obtain the KDADK-MMPM software package Boostkit-boostida-kdadk-mmpm-2.5.3.zip as instructed in Table 2.
  2. Decompress Boostkit-boostida-kdadk-mmpm-2.5.3.zip to obtain the KDADK-MMPM binary RPM package.
  3. 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.

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