From b7cfa462de489dd4e4ff48ed6f5e22ac62591f2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:30:05 +0000 Subject: [PATCH 01/15] =?UTF-8?q?add=20README=5FCH.=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9gzip=E7=9A=84=E4=B8=AD=E6=96=87=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 README_CH diff --git a/README_CH b/README_CH new file mode 100644 index 0000000..e69de29 -- Gitee From 8217bd119a920d2eee33e903c4aac80e08f3aeed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:37:19 +0000 Subject: [PATCH 02/15] update README_CH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/README_CH b/README_CH index e69de29..0f6b844 100644 --- a/README_CH +++ b/README_CH @@ -0,0 +1,76 @@ +# GZIP 中文版 README + +## 项目简介 + +GZIP 是一个基于 DEFLATE 算法的数据压缩工具,本项目是 GZIP 的开源实现,针对鲲鹏(Kunpeng)处理器进行了优化。 + +## 功能特性 + +- 支持标准 GZIP 文件格式(.gz 文件) +- 实现 DEFLATE 压缩算法(RFC 1951) +- 兼容 GZIP 文件格式规范(RFC 1952) +- 针对鲲鹏处理器架构进行了性能优化 +- 提供高效的压缩和解压功能 + +## 安装说明 + +### 编译要求 + +- GCC 编译器 +- 鲲鹏处理器或兼容 ARM 架构环境 +- Make 构建工具 + +### 编译步骤 + +```bash +git clone https://gitee.com/kunpengcompute/gzip.git +cd gzip +./configure +make +sudo make install +``` + +## 使用示例 + +### 基本压缩 +```bash +gzip filename +``` + +### 解压缩 +```bash +gzip -d filename.gz +``` + +### 查看压缩文件内容 +```bash +gzip -c -d filename.gz +``` + +### 设置压缩级别(1-9,9为最高) +```bash +gzip -9 filename +``` + +## 性能优化 + +本项目特别针对鲲鹏处理器进行了以下优化: +- 使用 ARM NEON 指令集加速压缩过程 +- 优化内存访问模式 +- 改进哈希算法提高压缩效率 + +## 许可证 + +本项目采用 GNU General Public License (GPL) 开源许可证。 + +## 贡献指南 + +欢迎通过 Gitee 提交 Issue 或 Pull Request 参与项目贡献。 + +## 联系方式 + +如有问题,可通过 Gitee 项目页面的 Issue 系统反馈。 + +## 致谢 + +感谢所有为该项目做出贡献的开发者和用户。 \ No newline at end of file -- Gitee From f950c4ac94a0d9a4718d0b8bfcb65bb9e42715a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:38:28 +0000 Subject: [PATCH 03/15] update README_CH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH | 48 +----------------------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/README_CH b/README_CH index 0f6b844..c9c1228 100644 --- a/README_CH +++ b/README_CH @@ -27,50 +27,4 @@ git clone https://gitee.com/kunpengcompute/gzip.git cd gzip ./configure make -sudo make install -``` - -## 使用示例 - -### 基本压缩 -```bash -gzip filename -``` - -### 解压缩 -```bash -gzip -d filename.gz -``` - -### 查看压缩文件内容 -```bash -gzip -c -d filename.gz -``` - -### 设置压缩级别(1-9,9为最高) -```bash -gzip -9 filename -``` - -## 性能优化 - -本项目特别针对鲲鹏处理器进行了以下优化: -- 使用 ARM NEON 指令集加速压缩过程 -- 优化内存访问模式 -- 改进哈希算法提高压缩效率 - -## 许可证 - -本项目采用 GNU General Public License (GPL) 开源许可证。 - -## 贡献指南 - -欢迎通过 Gitee 提交 Issue 或 Pull Request 参与项目贡献。 - -## 联系方式 - -如有问题,可通过 Gitee 项目页面的 Issue 系统反馈。 - -## 致谢 - -感谢所有为该项目做出贡献的开发者和用户。 \ No newline at end of file +sudo make install \ No newline at end of file -- Gitee From 3d5fc8ad76a5cf9198470be7cc42524f4690ded4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:44:19 +0000 Subject: [PATCH 04/15] rename README_CH to README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH | 30 ------------------------ README_CH.md | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 30 deletions(-) delete mode 100644 README_CH create mode 100644 README_CH.md diff --git a/README_CH b/README_CH deleted file mode 100644 index c9c1228..0000000 --- a/README_CH +++ /dev/null @@ -1,30 +0,0 @@ -# GZIP 中文版 README - -## 项目简介 - -GZIP 是一个基于 DEFLATE 算法的数据压缩工具,本项目是 GZIP 的开源实现,针对鲲鹏(Kunpeng)处理器进行了优化。 - -## 功能特性 - -- 支持标准 GZIP 文件格式(.gz 文件) -- 实现 DEFLATE 压缩算法(RFC 1951) -- 兼容 GZIP 文件格式规范(RFC 1952) -- 针对鲲鹏处理器架构进行了性能优化 -- 提供高效的压缩和解压功能 - -## 安装说明 - -### 编译要求 - -- GCC 编译器 -- 鲲鹏处理器或兼容 ARM 架构环境 -- Make 构建工具 - -### 编译步骤 - -```bash -git clone https://gitee.com/kunpengcompute/gzip.git -cd gzip -./configure -make -sudo make install \ No newline at end of file diff --git a/README_CH.md b/README_CH.md new file mode 100644 index 0000000..7557267 --- /dev/null +++ b/README_CH.md @@ -0,0 +1,64 @@ +# GZIP 压缩工具(鲲鹏优化版) + +stars forks + +## 项目概述 + +本项目是基于 GNU Gzip 的深度优化版本,专为华为鲲鹏(Kunpeng)处理器架构设计。GZIP 是 Linux/Unix 系统中的核心压缩工具,采用 DEFLATE 算法实现高效的数据压缩。本优化版本在保持完全兼容标准 GZIP 的同时,针对鲲鹏 ARMv8 架构进行了多项性能优化,显著提升压缩和解压效率。 + +## 主要特性 + +### 核心功能 +- 📦 完整支持标准 GZIP 文件格式(.gz 扩展名) +- ⚡ 实现 RFC 1951 DEFLATE 压缩算法 +- 🔍 兼容 RFC 1952 GZIP 文件格式规范 +- 🔄 支持多文件批量压缩/解压操作 +- ⏱️ 保留原始文件时间戳、权限等元数据 +- 📊 支持1-9级压缩级别调节 + +### 鲲鹏架构优化 +- 🚀 针对鲲鹏 920 处理器深度优化 +- ⚙️ 使用 ARM NEON SIMD 指令集加速关键路径 +- 💾 优化的内存访问模式提升缓存命中率 +- 🔢 改进的哈希算法提升LZ77压缩效率 +- 🧵 多线程并行处理支持(实验性功能) +- 🔋 使用 ARMv8 CRC32 指令加速校验和计算 + +## 系统要求 + +### 硬件要求 +- 华为鲲鹏处理器(Kunpeng 920 或更高) +- 兼容 ARMv8.2 及以上架构的 CPU +- 内存:≥512MB(处理大文件建议≥2GB) + +### 软件依赖 +- **操作系统**:openEuler 20.03 LTS+,CentOS 7.6+,Ubuntu 18.04+ +- **编译器**:GCC 7.3.0 或更高版本 +- **构建工具**:make 4.0+,autoconf 2.69+,automake 1.15+ +- **运行时依赖**:glibc 2.17+ + +## 安装指南 + +### 源码编译安装 + +```bash +# 1. 克隆仓库 +git clone https://gitee.com/kunpengcompute/gzip.git +cd gzip + +# 2. 生成配置脚本 +autoreconf -ivf + +# 3. 配置编译选项(启用鲲鹏优化) +./configure \ + --prefix=/usr/local \ + --enable-arm-optimize \ + --with-neon-accel \ + CFLAGS="-O3 -mcpu=tsv110" + +# 4. 编译并安装 +make -j$(nproc) +sudo make install + +# 5. 验证安装 +gzip -V | grep "Kunpeng" \ No newline at end of file -- Gitee From ca635c22df2e7c5a446f19ddf68462b1a475a2f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:52:02 +0000 Subject: [PATCH 05/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README_CH.md b/README_CH.md index 7557267..b596c50 100644 --- a/README_CH.md +++ b/README_CH.md @@ -61,4 +61,26 @@ make -j$(nproc) sudo make install # 5. 验证安装 -gzip -V | grep "Kunpeng" \ No newline at end of file +gzip -V | grep "Kunpeng" + +### 快速安装 + +```bash +sudo dnf install kunpeng-gzip + +##使用示例 + +#基础操作 + +```bash +# 压缩文件(生成 file.txt.gz) +gzip file.txt + +/# 解压文件(保留原始文件) +gzip -dk file.txt.gz + +# 查看压缩文件内容 +zcat file.txt.gz + +# 测试压缩文件完整性 +gzip -t archive.gz \ No newline at end of file -- Gitee From 252dc59ddd62e1d82d32f6804e09cffece1a0848 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:53:51 +0000 Subject: [PATCH 06/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README_CH.md b/README_CH.md index b596c50..23f4112 100644 --- a/README_CH.md +++ b/README_CH.md @@ -59,7 +59,7 @@ autoreconf -ivf # 4. 编译并安装 make -j$(nproc) sudo make install - +``` # 5. 验证安装 gzip -V | grep "Kunpeng" @@ -76,11 +76,12 @@ sudo dnf install kunpeng-gzip # 压缩文件(生成 file.txt.gz) gzip file.txt -/# 解压文件(保留原始文件) +# 解压文件(保留原始文件) gzip -dk file.txt.gz # 查看压缩文件内容 zcat file.txt.gz # 测试压缩文件完整性 -gzip -t archive.gz \ No newline at end of file +gzip -t archive.gz +``` \ No newline at end of file -- Gitee From 973ee65d54c3f26cd3de7683dc83b853e4762f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:54:19 +0000 Subject: [PATCH 07/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_CH.md b/README_CH.md index 23f4112..621c8bc 100644 --- a/README_CH.md +++ b/README_CH.md @@ -59,10 +59,10 @@ autoreconf -ivf # 4. 编译并安装 make -j$(nproc) sudo make install -``` + # 5. 验证安装 gzip -V | grep "Kunpeng" - +``` ### 快速安装 ```bash -- Gitee From 9d64b98ab4c13b9c3d65d5039fd815ff3cc86368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:54:48 +0000 Subject: [PATCH 08/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_CH.md b/README_CH.md index 621c8bc..9a0e6d7 100644 --- a/README_CH.md +++ b/README_CH.md @@ -67,7 +67,7 @@ gzip -V | grep "Kunpeng" ```bash sudo dnf install kunpeng-gzip - +``` ##使用示例 #基础操作 -- Gitee From 943e5cf711125c732cd1c381cdaf37332c362b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:58:42 +0000 Subject: [PATCH 09/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README_CH.md b/README_CH.md index 9a0e6d7..2d71f29 100644 --- a/README_CH.md +++ b/README_CH.md @@ -68,9 +68,9 @@ gzip -V | grep "Kunpeng" ```bash sudo dnf install kunpeng-gzip ``` -##使用示例 +## 使用示例 -#基础操作 +# 基础操作 ```bash # 压缩文件(生成 file.txt.gz) @@ -84,4 +84,23 @@ zcat file.txt.gz # 测试压缩文件完整性 gzip -t archive.gz +``` + +## 高级用法 + +```bash +# 最大压缩率(级别9) +gzip -9 largefile.iso + +# 流式压缩(管道操作) +tar cf - directory/ | gzip > archive.tar.gz + +# 批量压缩并显示进度 +gzip -vr logs/ + +# 设置压缩块大小(32KB~128KB) +gzip --blocksize=64k data.bin + +# 多线程压缩(实验性功能) +gzip --threads=4 bigfile.dat ``` \ No newline at end of file -- Gitee From 3ef598f1c9fedce4c17989d77f3b1c6a8910bd4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 07:59:17 +0000 Subject: [PATCH 10/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_CH.md b/README_CH.md index 2d71f29..a0091f1 100644 --- a/README_CH.md +++ b/README_CH.md @@ -70,7 +70,7 @@ sudo dnf install kunpeng-gzip ``` ## 使用示例 -# 基础操作 +### 基础操作 ```bash # 压缩文件(生成 file.txt.gz) -- Gitee From 04015c1b6b8a2a4cb2612b35c6679e00f9b9dea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 08:00:57 +0000 Subject: [PATCH 11/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/README_CH.md b/README_CH.md index a0091f1..5f0c103 100644 --- a/README_CH.md +++ b/README_CH.md @@ -9,20 +9,20 @@ ## 主要特性 ### 核心功能 -- 📦 完整支持标准 GZIP 文件格式(.gz 扩展名) -- ⚡ 实现 RFC 1951 DEFLATE 压缩算法 -- 🔍 兼容 RFC 1952 GZIP 文件格式规范 -- 🔄 支持多文件批量压缩/解压操作 -- ⏱️ 保留原始文件时间戳、权限等元数据 -- 📊 支持1-9级压缩级别调节 +- 完整支持标准 GZIP 文件格式(.gz 扩展名) +- 实现 RFC 1951 DEFLATE 压缩算法 +- 兼容 RFC 1952 GZIP 文件格式规范 +- 支持多文件批量压缩/解压操作 +- 保留原始文件时间戳、权限等元数据 +- 支持1-9级压缩级别调节 ### 鲲鹏架构优化 -- 🚀 针对鲲鹏 920 处理器深度优化 -- ⚙️ 使用 ARM NEON SIMD 指令集加速关键路径 -- 💾 优化的内存访问模式提升缓存命中率 -- 🔢 改进的哈希算法提升LZ77压缩效率 -- 🧵 多线程并行处理支持(实验性功能) -- 🔋 使用 ARMv8 CRC32 指令加速校验和计算 +- 针对鲲鹏 920 处理器深度优化 +- 使用 ARM NEON SIMD 指令集加速关键路径 +- 优化的内存访问模式提升缓存命中率 +- 改进的哈希算法提升LZ77压缩效率 +- 多线程并行处理支持(实验性功能) +- 使用 ARMv8 CRC32 指令加速校验和计算 ## 系统要求 @@ -103,4 +103,7 @@ gzip --blocksize=64k data.bin # 多线程压缩(实验性功能) gzip --threads=4 bigfile.dat -``` \ No newline at end of file +``` +## 贡献指南 +如果您想为本仓库贡献代码,请向本仓库任意maintainer发送邮件 +如果您找到产品中的任何Bug,欢迎您提出ISSUE \ No newline at end of file -- Gitee From 59e25d8e39f00de1e9195f95ce9aee95ab43927b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 08:01:24 +0000 Subject: [PATCH 12/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README_CH.md b/README_CH.md index 5f0c103..0bd9169 100644 --- a/README_CH.md +++ b/README_CH.md @@ -105,5 +105,7 @@ gzip --blocksize=64k data.bin gzip --threads=4 bigfile.dat ``` ## 贡献指南 +```bash 如果您想为本仓库贡献代码,请向本仓库任意maintainer发送邮件 -如果您找到产品中的任何Bug,欢迎您提出ISSUE \ No newline at end of file +如果您找到产品中的任何Bug,欢迎您提出ISSUE +``` \ No newline at end of file -- Gitee From 61e00a209d79c37fdbfaee88426559ee297bfdc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 08:44:35 +0000 Subject: [PATCH 13/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/README_CH.md b/README_CH.md index 0bd9169..d4bc335 100644 --- a/README_CH.md +++ b/README_CH.md @@ -46,27 +46,17 @@ git clone https://gitee.com/kunpengcompute/gzip.git cd gzip -# 2. 生成配置脚本 -autoreconf -ivf +# 2. 编译并安装 +# 该命令会将文件装在"/usr/local/include"文件夹下 +make install -# 3. 配置编译选项(启用鲲鹏优化) -./configure \ - --prefix=/usr/local \ - --enable-arm-optimize \ - --with-neon-accel \ - CFLAGS="-O3 -mcpu=tsv110" - -# 4. 编译并安装 -make -j$(nproc) -sudo make install - -# 5. 验证安装 +# 3. 验证安装 gzip -V | grep "Kunpeng" ``` ### 快速安装 ```bash -sudo dnf install kunpeng-gzip +dnf install kunpeng-gzip ``` ## 使用示例 -- Gitee From 2ac71ef65a53f04e6b66e6c76c85a6287108b0a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E6=B3=89=E5=9D=A4?= Date: Fri, 20 Jun 2025 09:04:05 +0000 Subject: [PATCH 14/15] update README_CH.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱泉坤 --- README_CH.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README_CH.md b/README_CH.md index d4bc335..6a37ade 100644 --- a/README_CH.md +++ b/README_CH.md @@ -74,6 +74,9 @@ zcat file.txt.gz # 测试压缩文件完整性 gzip -t archive.gz + +#更多用法可以通过如下命令查看 +gzip -h ``` ## 高级用法 -- Gitee From afbb5d19dcac954c4fb4d7f5c6537aa869abac1a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Aug 2025 11:13:01 +0800 Subject: [PATCH 15/15] modify README_CH.md about gzip install --- README_CH.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README_CH.md b/README_CH.md index 6a37ade..7a3e740 100644 --- a/README_CH.md +++ b/README_CH.md @@ -1,4 +1,5 @@ # GZIP 压缩工具(鲲鹏优化版) +该优化版位于aarch64分支下,请勿直接下载安装包! stars forks @@ -42,22 +43,25 @@ ### 源码编译安装 ```bash -# 1. 克隆仓库 -git clone https://gitee.com/kunpengcompute/gzip.git +# 1. 克隆仓库(需克隆aarch64分支的代码仓) +git clone -b aarch64 https://gitee.com/kunpengcompute/gzip.git cd gzip -# 2. 编译并安装 -# 该命令会将文件装在"/usr/local/include"文件夹下 +# 2. 执行configure +# 给configure文件增加可执行权限 +chmod +x configure +./configure CFLAGS="-march=armv8-a+crc" +chmod +x build-aux/git-version-gen + +# 3. 编译并安装 +# 该命令会将文件装在"/usr/local/bin"文件夹下 +make make install +export PATH= /usr/local/bin/:$PATH -# 3. 验证安装 +# 4. 验证安装 gzip -V | grep "Kunpeng" ``` -### 快速安装 - -```bash -dnf install kunpeng-gzip -``` ## 使用示例 ### 基础操作 @@ -101,4 +105,4 @@ gzip --threads=4 bigfile.dat ```bash 如果您想为本仓库贡献代码,请向本仓库任意maintainer发送邮件 如果您找到产品中的任何Bug,欢迎您提出ISSUE -``` \ No newline at end of file +``` -- Gitee