PACK(5) File Formats Manual PACK(5)

packpack file format

pack is the name given to compressed archives used by pm(1) to install softwares under a directory.

The pack name is used to extract informations about it content, and should follow a strict naming scheme: <name>@<version>.<ext>.

The regex used to match pack names is as follows (case sensitive):


name used for packs should remain the original software name, unless it doesn't match the regex above. In this case, the name should be changed to fit the convention used.

Libraries pack names MUST be named "lib<name>". For example, the pack for "zlib" would be named "libz@<version>.<ext>".

A pack is a compressed containing all the files and sub directories meant to be extracted under the $ROOT directory (See pm(1)). Supported compression algorithms are , , . For example:


In order to create a pack suitable for use with pm(1), you can use external tools to first install your pack into a specific directory, change to this directory and archive its content.

  make DESTDIR=$PWD/tmproot PREFIX= install
  tar -C ./tmproot -f /tmp/pm@1.3.tbz -cj .

You can then check the content of this pack with:

  tar -f /tmp/pm@1.3.tbz -tj

pm(1), tar(1), gzip(1), bzip2(1), xz(1),

Willy Goiffon <>

2016-01-13 POSIX.1-2008