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 and Uninstalling the Data Compression SDK
- SDK installation and uninstallation (openEuler 20.03 LTS SP1)
- Obtain the Data Compression SDK installation package from the Kunpeng mirror site.
- 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 RPM packages.
1rpm -ivh kunpeng-dc-xxx.aarch64.rpm
kunpeng-dc-devel:1rpm -ivh kunpeng-dc-devel-xxx.aarch64.rpm
- Uninstall the RPM packages.
kunpeng-dc:
1rpm -e kunpeng-dc
- SDK installation and uninstallation (openEuler 22.03 LTS SP1)
- Obtain the Data Compression SDK installation package from the Kunpeng mirror site.
- 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 RPM packages.
1rpm -ivh kunpeng-dc-xxx.aarch64.rpm
kunpeng-dc-devel:
1rpm -ivh kunpeng-dc-devel-xxx.aarch64.rpm
- Uninstall the RPM packages.
1rpm -e kunpeng-dc-devel
kunpeng-dc:
1rpm -e kunpeng-dc
- SDK installation and uninstallation (Kylin V10 SP1)
- Obtain the Data Compression SDK installation package from the Kunpeng mirror site.
- Decompress the installation packages.
1 2
tar -zxvf kunpeng-dc-xxx.aarch64.tar.gz tar -zxvf kunpeng-dc-devel-xxx.aarch64.tar.gz
- Install the RPM packages.
1rpm -ivh kunpeng-dc-xxx.aarch64.rpm
kunpeng-dc-devel:1rpm -ivh kunpeng-dc-devel-xxx.aarch64.rpm
- Uninstall the RPM packages.
kunpeng-dc:
1rpm -e kunpeng-dc
- 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 and kunpeng-dc software packages are dependent on each other. You must install the kunpeng-dc software package before installing the kunpeng-dc-devel software package. Before uninstalling the kunpeng-dc software package, ensure that the kunpeng-dc-devel software package has been uninstalled.
- Ensure that kunpeng-dc and kunpeng-dc-devel software packages are of the same version.