# kyclassifier **Repository Path**: openeuler/kyclassifier ## Basic Information - **Project Name**: kyclassifier - **Description**: Use for analyzes layers and categories inforamtion of packages in openEuler. - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 13 - **Created**: 2024-08-01 - **Last Updated**: 2025-03-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: sig-Compatibility-Infra ## README # kyclassifier #### 介绍 用于分析openEuler中包的图层和类别信息。 #### 软件架构 支持x86_64和aarch64架构系统 #### 安装教程 工具安装:
git clone https://gitee.com/openeuler/kyclassifier
mv kyclassifier kyclassifier-1.1
tar -czvf kyclassifier-1.1.tar.gz kyclassifier-1.1
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
mv kyclassifier-1.1.tar.gz ~/rpmbuild/SOURCES
cp kyclassifier-1.1/kyclassifier.spec ~/rpmbuild/SPECS
rpmbuild -ba ~/rpmbuild/SPECS/kyclassifier.spec
rpm -ivh ~/rpmbuild/RPMS/xxxx/kyclassifier-1.1-0.xxxx.rpm
依赖安装:
yum install python3-hawkey
pip3 install pycdlib Jinja2 MarkupSafe psutil
#### 使用说明 kyclassifier -h
usage: kyclassifier -h
-iso ISO_FILE_PATH
-repo
-local
-console_log
-q_rpminiso
optional arguments:
-h, --help show this help message and exit
-iso ISO Input ISO file path
-repo Whether to analyze repo packages.
-local Whether to analyze local installed packages.
-console_log Output log to console.
-q_rpminiso Query input rpm layer in iso
#### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)