Linux command
namcap 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
namcap [path/to/PKGBUILD]
Example
namcap [path/to/package.pkg.tar.zst]
Example
namcap -i [path/to/file]
Example
namcap -m [path/to/file]
List available rules
namcap --rules
说明
namcap checks binary packages and source PKGBUILDs for common packaging mistakes on Arch Linux. It validates required fields, file permissions, dependencies, licenses, and security concerns. The tool helps package maintainers catch issues before submission to the AUR or official repositories. It runs multiple rule-based checks and reports findings categorized by severity.
参数
- -i, --info
- Display extra informational messages
- -m, --machine-readable
- Output in program-parsable format
- --rules _list_
- List available checking rules
- -h, --help
- Display help information
FAQ
What is the namcap command used for?
namcap checks binary packages and source PKGBUILDs for common packaging mistakes on Arch Linux. It validates required fields, file permissions, dependencies, licenses, and security concerns. The tool helps package maintainers catch issues before submission to the AUR or official repositories. It runs multiple rule-based checks and reports findings categorized by severity.
How do I run a basic namcap example?
Run `namcap [path/to/PKGBUILD]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i, --info do in namcap?
Display extra informational messages