Given a pacman package (.pkg.tar.xz), is there a tool to convert it to a deb or rpm package?
In other words, I'm looking for an equivalent to alien. So far, I got the impression that such a tool does not exist.
Edit: Some background about .pkg.tar.xz pacman packages (source: Arch Wiki "Creating packages" article):
An Arch package is no more than a tar archive, or 'tarball', compressed using xz, which contains the following files generated by makepkg:
The binary files to install.
.PKGINFO: contains all the metadata needed by pacman to deal with packages, dependencies, etc.
.MTREE: contains hashes and timestamps of the files, which are included in the local database so that pacman can verify the integrity of the package.
.INSTALL: an optional file used to execute commands after the install/upgrade/remove stage. (This file is present only if specified in the PKGBUILD.)
.Changelog: an optional file kept by the package maintainer documenting the changes of the package. (It is not present in all packages.)
make; make install
kind of software or with autotools or CMake, creating a Debian package is rather quick: Create the directory withdh_make -f SOURCE.tar
, then editdebian/control
and add the dependencies (not needed for you). Then build it usingdebuild -us -uc
and install it usingdpkg -i
or within the build tree withdebi
. – Martin Ueding Mar 27 '15 at 09:54alien
tool to add support of a conversion from arch-linux packages to deb packages (it currently supports rpm,deb,tgz and slp). Or there is a need for an alternative. – Velkan Apr 08 '22 at 08:21