← 返回命令列表

Linux command

pkgmk 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Build

pkgmk -d

Example

pkgmk -d -i

Example

pkgmk -d -u

Ignore footprint

pkgmk -d -if

Ignore MD5

pkgmk -d -im

Update footprint

pkgmk -uf

说明

pkgmk builds binary packages from source for CRUX Linux. It reads a Pkgfile (similar to PKGBUILD in Arch) containing build instructions, downloads sources, compiles the software, and creates a package archive. The tool verifies source integrity using MD5 checksums and tracks installed files using footprint files for reproducibility.

参数

-d
Download source files
-i
Install package after build
-u
Upgrade package after build
-if
Ignore footprint mismatch
-im
Ignore MD5 checksum mismatch
-uf
Update footprint file
-um
Update MD5 checksum file
-ns
No stripping of binaries

FAQ

What is the pkgmk command used for?

pkgmk builds binary packages from source for CRUX Linux. It reads a Pkgfile (similar to PKGBUILD in Arch) containing build instructions, downloads sources, compiles the software, and creates a package archive. The tool verifies source integrity using MD5 checksums and tracks installed files using footprint files for reproducibility.

How do I run a basic pkgmk example?

Run `pkgmk -d` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d do in pkgmk?

Download source files