2023-10-25 00:29:30 -04:00
|
|
|
# Pacwrap User Manual
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
This document was generated by the pacwrap binary on 17/11/2023 00:49:30 with version 0.5.0-b9b5ea8 of the program.
|
2023-10-25 00:29:30 -04:00
|
|
|
|
|
|
|
## NAME
|
|
|
|
pacwrap - Command-line application which facilitates the creation, management, and execution of unprivileged,
|
|
|
|
sandboxed containers with bubblewrap and libalpm.
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2023-11-17 01:11:58 -05:00
|
|
|
pacwrap [**OPERATIONS**] [**ARGUMENTS**] [**TARGET(S)**]
|
2023-10-25 00:29:30 -04:00
|
|
|
|
|
|
|
## OPERATIONS
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-S, --sync**
|
2023-10-25 00:29:30 -04:00
|
|
|
Synchronize package databases and update packages in target containers.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-U, --utils**
|
2023-10-25 00:29:30 -04:00
|
|
|
Invoke miscellaneous utilities to manage containers.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-P, --process**
|
2023-10-25 00:29:30 -04:00
|
|
|
Manage and show status of running container processes.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-E, --execute**
|
2023-10-25 00:29:30 -04:00
|
|
|
Executes application in target container using bubblewrap.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-h, --help=OPTION**
|
|
|
|
Invoke a printout of this manual to **STDOUT**.
|
2023-10-25 00:29:30 -04:00
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-V, --version**
|
2023-10-25 00:29:30 -04:00
|
|
|
Display version and copyright information in **STDOUT**.
|
|
|
|
|
|
|
|
## EXECUTE
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-r, --root**
|
2023-10-25 00:29:30 -04:00
|
|
|
Execute operation with fakeroot and fakechroot. Facilitates a command with faked privileges.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-s, --shell**
|
2023-10-25 00:29:30 -04:00
|
|
|
Invoke a bash shell
|
|
|
|
|
|
|
|
## SYNCHRONIZATION
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-y, --refresh**
|
2023-10-25 00:29:30 -04:00
|
|
|
Synchronize remote package databases. Specify up to 2 times to force a refresh.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-u, --upgrade**
|
2023-10-25 00:29:30 -04:00
|
|
|
Execute aggregate upgrade routine on all or specified containers. Use **-t, --target=TARGET** to limit
|
2023-11-17 01:11:58 -05:00
|
|
|
package synhronization operations to the specified target containers. Packages applicable to
|
|
|
|
a target **must** be specified only after the target operand.
|
|
|
|
e.g. '-t electron element-desktop -t mozilla firefox thunderbird'
|
2023-10-25 00:29:30 -04:00
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-f, --filesystem**
|
2023-10-25 00:29:30 -04:00
|
|
|
Force execution of filesystem synchronization target on all or specified containers. In combination
|
|
|
|
with **-o/--target-only**, in addition to no other specified targets, filesystem slices will be
|
|
|
|
synchronized without package synchronization on all applicable containers.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-c, --create**
|
2023-10-25 00:29:30 -04:00
|
|
|
Create a container with the first specified target. A container type argument is also required.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-b, --base**
|
2023-10-25 00:29:30 -04:00
|
|
|
Base container type. Specify alongside **-c, --create** to assign this container type during creation.
|
|
|
|
This container type is used as the base layer for all downstream containers. Only one base container
|
2023-11-17 01:11:58 -05:00
|
|
|
dependency per slice or per root is supported. Filesystem and package deduplication via slices
|
|
|
|
and root containers is recommended, but optional.
|
2023-10-25 00:29:30 -04:00
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-d, --slice**
|
2023-10-25 00:29:30 -04:00
|
|
|
Slice container type. Specify alongside **-c, --create** to assign this container type during creation.
|
|
|
|
Requires a base dependency target, and optionally sliced dependency target(s), in order to ascertain
|
2023-11-17 01:11:58 -05:00
|
|
|
foreign packages and influence ordering of downstream synchronization target(s). Container slicing
|
|
|
|
provides the ability to install packages in a lightweight, sliced filesytem, which aid in the
|
|
|
|
deduplication of common downstream package and filesystem dependencies e.g. graphics drivers,
|
|
|
|
graphical toolkits, fonts, etc..
|
2023-10-25 00:29:30 -04:00
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-r, --root**
|
2023-10-25 00:29:30 -04:00
|
|
|
Root container type. Specify alongside **-c, --create** to this assign container type during creation.
|
|
|
|
Requires a base dependency target, and optionally sliced dependency targets, in order to ascertain
|
|
|
|
foreign packages and influence ordering of this target. These containers are ideal for installing
|
|
|
|
software in with the least amount of filesystem and package synchronization overhead.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-t, --target=TARGET**
|
2023-10-25 00:29:30 -04:00
|
|
|
Specify a target container for the specified operation.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-o, --target-only**
|
2023-10-25 00:29:30 -04:00
|
|
|
Apply specified operation on the specified target only.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **--force-foreign**
|
2023-10-25 00:29:30 -04:00
|
|
|
Force synchronization of foreign packages on resident container. Useful for when installing
|
|
|
|
a new package in a root container without all the prerequisite foreign dependencies synchronized
|
|
|
|
to this container's package database.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **--dbonly**
|
2023-10-25 00:29:30 -04:00
|
|
|
Transact on resident containers with a database-only transaction.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **--noconfirm**
|
2023-10-25 00:29:30 -04:00
|
|
|
Override confirmation prompts and confirm all operations.
|
|
|
|
|
|
|
|
## PROCESS
|
|
|
|
-TODO-
|
|
|
|
|
|
|
|
## UTILITIES
|
|
|
|
-TODO-
|
|
|
|
|
|
|
|
## HELP
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-m, --more**
|
2023-10-25 00:29:30 -04:00
|
|
|
When specifying a topic to display, show the default topic in addition to specified options.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-f, --format=FORMAT**
|
2023-10-25 00:29:30 -04:00
|
|
|
Change output format of help in **STDOUT**. Format options include: 'ansi', 'dumb', 'markdown', and 'man'.
|
|
|
|
This option is for the express purposes of generating documentation at build time, and has little utility
|
|
|
|
outside the context of package maintenance. 'man' option produces troff-formatted documents for man pages.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-a, --all, --help=all**
|
2023-10-25 00:29:30 -04:00
|
|
|
Display all help topics.
|
|
|
|
|
|
|
|
## VERSION
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
* **-V, --version, --version=min**
|
2023-10-25 00:29:30 -04:00
|
|
|
Sends version information to **STDOUT** with colourful ASCII art.
|
|
|
|
The 'min' option provides a minimalistic output as is provided to non-colour terms.
|
|
|
|
|
2023-11-17 01:11:58 -05:00
|
|
|
This documentation was generated by pacwrap v0.5.0-b9b5ea8-DEV (17/11/2023 00:49:30).
|
|
|
|
Please seek relevant documentation if 'pacwrap -V' mismatches with the aforementioned.
|
2023-10-25 00:29:30 -04:00
|
|
|
|
|
|
|
## COPYRIGHT
|
|
|
|
|
|
|
|
Copyright (C) 2023 - Xavier R.M.
|
|
|
|
|
|
|
|
This program may be freely redistributed under
|
|
|
|
the terms of the GNU General Public License v3.
|
|
|
|
|