x2epkg Usage Guide
Introduction
This document describes the basic usage of the x2epkg package conversion tool. The operation result examples in this document use the root user. No installation is required. This tool converts rpm/deb/pkg.tar.zst installation packages into epkg installation packages.
Download
bash
git clone https://atomgit.com/openeuler/epkg.gitQuick Start
After downloading the epkg repository, go to the x2epkg directory and use the tool.
shell
cd epkg/x2epkg
./x2epkg.sh --helpParameter Description
txt
Usage:
./x2epkg xxx.rpm # Converting a single rpm package.
./x2epkg xxx.deb # Converting a single debian package.
./x2epkg xxx.pkg.tar.zst # Converting a single archlinux package.
./x2epkg file_path/*.rpm # Converting multiple installation packages. This also applies to deb and pkg.tar.zst files.
./x2epkg xxx.rpm --out-dir PATH # Adding the out-dir parameter specifies the output directory. If this parameter is not added, the output is stored in the same directory as the package.Example
shell
cd /root
wget https://mirrors.huaweicloud.com/archlinux/core/os/x86_64/fakeroot-1.37-1-x86_64.pkg.tar.zst
cd epkg/x2epkg
./x2epkg.sh /root/fakeroot-1.37-1-x86_64.pkg.tar.zst
ls /root/store/4t/4tmfsi5yikkq32rrulae6oi6u4txr5zu__fakeroot__1.37__1.epkg # View the generation result.Bug
