# loong64-it **Repository Path**: ideafans/loong64-it ## Basic Information - **Project Name**: loong64-it - **Description**: 克隆https://github.com/AOSC-Dev/loong64-it 。通过 AOSC 社区提供的脚本,可将旧世界的 .deb 包内部架构由 loongarch64 修改为 loong64,就可以在新世界上安装该 deb 包了。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-16 - **Last Updated**: 2025-07-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README loong64-it === Quickly puns "old-world" `loongarch64` .deb packages to "new-world" `loong64` ones - this is useful for distributions such as Debian and deepin who insists that architecture names should be different between worlds. This aids users with libLoL-enabled `loong64` distributions in installing and using old-world applications such as Tencent QQ and WPS for Linux. Usage --- ``` loong64-it [PACKAGE1] [PACKAGE2] ... - PACKAGE{1..N}: Path to the old-world .deb package to convert. ``` Implementation --- The script does the following: - Examines the specified package file(s) as valid .deb package(s). - Using `ar`, extracts `control.tar*` for processing. - Records the suffix and compression method of the control archive such that they could be replaced in-place in the original .deb. - Examines and processes `control`, replacing the `Architecture:` field from `loongarch64` to `loong64`, where applicable (returns an error if said package also comes with a `loong64` (or anything other than the old/new- world pair) architecture key. - Repacks the `control.tar*` archive and replaces it in-place. - Instructs the user that the `.deb` file has been sucessfully processed and is ready to use (and recommends installing libLoL).