pax - Portable Archive Interchange (cpio, pax, tar)

Distribution: Debian 7 (Wheezy)
Repository: Debian Main amd64
Package name: pax
Package version: 20120606
Package release: 2
Package architecture: amd64
Package type: deb
Installed size: 181 B
Download size: 83.68 KB
Official Mirror:
paxtar is an implementation of an archiving utility that reads and writes several formats - traditional ones, the extended formats specified in IEEE 1003.1, and the ar(5) format used by deb(5) packages (MirBSD specific paxtar extension). The pax interface was designed by IEEE 1003.2 as a compromise in the chronic controversy over which of tar or cpio is best, but this implementation offers paxcpio and paxtar for easy calling. This is the MirBSD paxtar implementation supporting the formats ar, bcpio, cpio, SVR4 cpio with and without CRC, old tar, and ustar, but not the format known as pax yet. It has extensions for removing non-numerical user and group IDs from the archive, storing hardlinked files only once, setting ownership to the superuser, anonymising inode and device information, changing the mtime to zero, and producing GNU tar compatible trailing slashes on ustar directory nodes. Its "ar" format is suitable for operating on *.deb files, unlike that of GNU binutils. Note that ACLs and Extended Attributes are not supported. Also, on Debian GNU/Hurd and Debian GNU/Linux (but not Debian GNU/kFreeBSD), size of archive members is limited to the width of the "long" type, that is, 2 GiB on platforms that do not have a 64-bit "long" type, due to a bug in the GNU C library (Debian #317466).


    Binary package: pax_20120606-2_amd64.deb
    Source package: pax

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install pax deb package:
      # sudo apt-get install pax


    • /bin/pax
    • /bin/paxcpio
    • /bin/paxtar
    • /usr/share/doc/pax/changelog.Debian.gz
    • /usr/share/doc/pax/copyright
    • /usr/share/man/man1/pax.1.gz
    • /usr/share/man/man1/paxcpio.1.gz
    • /usr/share/man/man1/paxtar.1.gz


    2012-06-07 - Thorsten Glaser <> pax (1:20120606-2) unstable; urgency=low * Fix permissions, timestamps, and shuffle dh_* around * Switch to 3.0 (quilt) * Temporarily add a versioned B-C for fakeroot on hurd (#676428)

    2012-06-06 - Thorsten Glaser <> pax (1:20120606-1) unstable; urgency=low * The “How the … did I get sore s̲h̲o̲u̲l̲d̲e̲r̲ muscles from football?” upload * Update to new upstream version: - oops, fix tty_init rewrito * This fixes FTBFS

    2012-06-05 - Thorsten Glaser <> pax (1:20120605-1) unstable; urgency=low * The “Sport ist Mord” upload * Update to new upstream version: - merge fixes from OpenBSD - improve portability - remove use of stdio in favour of syscalls in some places - mention nōn-support (TOOD) of pax file format in manpages * Drop lintian overrides - false positive is resolved - we don’t really care about no-homepage and no-upstream-changelog * Build-Depends less package! Thanks to “goodbye” sample package! * Aid cross-compiling by setting ${CC} to something useful

    2012-05-20 - Thorsten Glaser <> pax (1:20120520-1) unstable; urgency=low * New upstream version - paxtar front-end got a new 'a' option for compression utility auto-detection, based on archive filename - includes options.c change (drop Debian patch) * Mention member size limitations on !kfreebsd !LP64 platforms due to an eglibc bug (#317466) * Override lintian false-positive "hardening-no-stackprotector" * Add overrides for "yes, not an omission, there are none"

    2012-02-27 - Thorsten Glaser <> pax (1:20120216-2) unstable; urgency=low * Update options.c to version from CVS to ensure the order of command line arguments in the cpio front-end more tightly, to prevent creating archives in the wrong format accidentally * Link with --as-needed (not enough to workaround #650145 though ☹) * Policy 3.9.3 (no changes) * Mention non-support of ACLs/EAs in the long description

    2012-02-16 - Thorsten Glaser <> pax (1:20120216-1) unstable; urgency=low * Debian GNU/kFreeBSD uses 64-bit off_t line FreeBSD®, unlike GNU * Implement GNU cpio ‘-V’ option

    2012-02-12 - Thorsten Glaser <> pax (1:20120212-1) unstable; urgency=low * Brown paper bag: pasto in one of the manpages, and work around a GNU groff deficiency in another

    2012-02-12 - Thorsten Glaser <> pax (1:20120211-1) unstable; urgency=low * Take over maintainership of the pax package in Debian from Bdale Garbee (thanks) and replace it with the MirBSD variant also providing paxcpio/paxtar (Closes: #42158) (Closes: #539353) * debian/rules: cleanup (remove dh_installdirs, add back dh_clean) * debian/rules: modernise; use fully hardened dpkg-buildflags * debian/control: rework package description

    2011-08-17 - Thorsten Glaser <> mircpio (20110817-0wtf2) wtf; urgency=low * New upstream release, many new features - build from formal release, not CVS export * Update packaging to current standards, still works with etch * Link against libbsd (backport) instead of duplicating code * Move to Policy 3.9.2 (no relevant changes) * Add RCS IDs, VCS-* headers, misc:Depends * Patch manpages to honour the binary præfix (pax→mirpax, etc.) * Enhance package description, mention distinguishing features * paxmirabilis can do Multi-Arch: foreign as requested by vorlon * Add Origin and Bugs headers

    2008-09-07 - Thorsten Glaser <> mircpio (20080906-1) experimental; urgency=low * Initial release * Adjust manpages to cope with GNU groff’s inferiorities