Installing and Uninstalling the Data Compression SDK
- Build an algorithm project using Huawei-developed lossless compression algorithms. The project identifies features of raw data and dynamically matches the optimal compression algorithm model to improve the data reduction rate. In addition, instruction-level optimization is performed for Kunpeng processors to accelerate compression.
- The Data Compression SDK contains kunpeng-dc and kunpeng-dc-devel. kunpeng-dc is used to run Kunpeng data compression applications, and kunpeng-dc-devel is used to develop Kunpeng data compression applications. Therefore, to run a Kunpeng data compression application, you only need to install kunpeng-dc. To develop a Kunpeng data compression application, you need to install both kunpeng-dc and kunpeng-dc-devel.
Prerequisites
- Processor architecture: Kunpeng 920
- Server: Kunpeng server
- OS: openEuler 20.03 LTS SP1, openEuler 22.03 LTS SP1, or Kylin V10 SP1
Installation Directory Structure
Installing the DC SDK
- Obtain the DC SDK installation packages.
- Decompress the installation packages.
1 2
tar -zxvf kunpeng-dc-xxx.aarch64.tar.gz tar -zxvf kunpeng-dc-devel-xxx.aarch64.tar.gz
- Go to the decompressed directories and install the SDK packages.
kunpeng-dc:
1rpm -ivh kunpeng-dc-xxx.aarch64.rpm
kunpeng-dc-devel:1rpm -ivh kunpeng-dc-devel-xxx.aarch64.rpm
- xxx indicates the version number.
- Obtain the latest TAR.GZ installation packages from the URLs given above, decompress the packages, and install the software.
- The kunpeng-dc-devel software package depends on the kunpeng-dc software package. Therefore, install kunpeng-dc before installing kunpeng-dc-devel.
- Ensure that kunpeng-dc and kunpeng-dc-devel software packages are of the same version.
Uninstalling the DC SDK
Uninstalling the SDK (openEuler 20.03 LTS SP1, openEuler 22.03 LTS SP1, or Kylin V10 SP1)
kunpeng-dc-devel:
1 | rpm -e kunpeng-dc-devel |
kunpeng-dc:
1 | rpm -e kunpeng-dc |
The kunpeng-dc-devel software package depends on the kunpeng-dc software package. Therefore, uninstall kunpeng-dc-devel before uninstalling kunpeng-dc.
Parent topic: Data Compression Application