pm installs, deletes, inspects and updates
packs on a POSIX operating system.
- Add pack(s) under $ROOT. This action will fail if a file from the pack
already exists under $ROOT (See
- Delete a pack from the system based on informations loaded from either a
filename or a pack name. In case of a pack name, the information is loaded
- Update pack by first deleting it, and reinstalling it. If the version of
the pack provided is the same as the installed one, do nothing.
- If a name is provided, print the list of files installed for
Otherwise, list all packs installed on the system (increase verbosity with
-v to see the version).
- Increase verbosity by one level. There are three levels of logging, as
- write out which action has been done (INFO)
- detail all tasks being executed (VERBOSE)
- report every change made to the filesystem (DEBUG)
Each level includes the messages of the previous ones.
- Force overwriting files during installation. This shouldn't be needed, so
take extra care when using it.
To install a pack to ~/.local, upgrade and
then delete it:
pm -a email@example.com
pm -u firstname.lastname@example.org
pm -d name
See pack(5) for details
on how to create a valid pack.
To get a list of packs installed, and their current version can be
inspected with the
-i switch. The files installed by
a pack are listed if a name is provided.
- Specifies the directory to use as the rootfs for packs installation
- Directory where the pack metadata will be stored (default: