CONVERTPKG

NAME

convertpkg − Convert packages to and from different formats.

SYNOPSIS

convertpkg [options] package [[options] package2 ...]

DESCRIPTION

convertpkg is meant to make the converting of packages between different compression formats easier. The uncompressed tar file is never altered during the process.

The input file can be .tgz, .tlz, .tbz, or .tar. (See makepkg(1) for detailed information about the package compression formats.) If the package is already in the requested format or the target file exists, the package is skipped. convertpkg never overwrites any files.

In addition to Tukaani’s native package format, convertpkg is able to convert .rpm and .deb packages to Tukaani/Slackware format. This conversion has limitations; e.g. it ignores install scripts. However, it is more convenient than the old rpm2tgz.

OPTIONS

−g, −−tgz, −−gzip

Convert the packages following this option to gzip(1) compressed packages. The resulting packages will have the filename extension .tgz. This is the only format supported by the official Slackware pkgtools. Use this if you are going to exchange packages with systems that do not have Tukaani pkgtools installed.

−l, −−tlz, −−lzma

Convert the packages following this option to LZMA compressed packages. The resulting packages will have the filename extension .tlz. This is the default if no format is specified.

−b, −−tbz, −−bzip2

Convert the packages following this option to bzip2(1) compressed packages. The resulting packages will have the filename extension .tbz.

−a, −−tar, −−tar

Convert the packages following this option to uncompressed packages. The resulting packages will have the filename extension .tar.

−o directory, −−outdir directory

Specify the directory where the new converted packages are put. By default converted packages are put to the same directory with the original packages.

AUTHORS

Lasse Collin <lasse.collin at tukaani.org>, Ville Koskinen <w−ber at iki.fi>

SEE ALSO

pkgtool(8), installpkg(8), removepkg(8), upgradepkg(8), viewpkg(1), explodepkg(1), makepkg(1), slackrepo(1), gzip(1), bzip2(1), lzma(1)