apk-extract(8) System Manager's Manual apk-extract(8)

apk extract - Extract package file contents

apk extract [<options>...] files...

apk extract will extract package contents of specified package file to the current or to an explicitly specified directory. Each package is extracted without checking dependencies or other metadata.

If extract is ran as non-root user the file owners and xattrs are not preserved.

--destination PATH

Extract files to PATH.

--no-chown

Do not preserve file owner.
2025-12-12