Rate This Document
Findability
Accuracy
Completeness
Readability

Installing KZstar

Before installing KZstar, obtain the zstd source code, copy the KZstar software package to the zstd source code directory, and then run the installation script.

  1. Obtain the zstd source package.
    git clone https://gitee.com/kunpengcompute/zstd.git -b Kzstar_1.5.2 
  2. The source package obtained in 1 contains the KZstar header file and dynamic library package BoostKit-KZstar_1.0.0.zip. If the package is missing, obtain it by following instructions in Obtaining the Software Package and copy it to the zstd directory.
  3. Run the following installation command:
    sh kzstar_build.sh install 
  4. Verify the installation after the installation is complete.
    tree /usr/local/kzstar 

    If the following information is displayed, the installation is successful:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    /usr/local/kzstar/
    ├── include 
       ├── zstar.h 
       └── zstd.h 
    └── lib
       ├── libsecurec.so
       ├── libzstar.so
       ├── libzstd.so -> libzstd.so.1.5.2
       ├── libzstd.so.1 -> libzstd.so.1.5.2
       └── libzstd.so.1.5.2