← 返回命令列表

Linux command

updpkgsums 命令

文本

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

常用示例

Update checksums in PKGBUILD

updpkgsums

Update checksums in a specific PKGBUILD

updpkgsums [path/to/PKGBUILD]

Update checksums without colored output

updpkgsums -m

Example

updpkgsums -h

说明

updpkgsums performs an in-place update of the checksums in a PKGBUILD file. It downloads the sources (if needed) and calculates new checksums, updating the PKGBUILD file. Defaults to the PKGBUILD in the current directory if no file is specified. Unless a preexisting hashing algorithm is already specified in the PKGBUILD, SHA256 will be used for the new checksums.

参数

-h, --help
Display help information.
-m, --nocolor
Do not colorize output.
-V, --version
Display version information.

FAQ

What is the updpkgsums command used for?

updpkgsums performs an in-place update of the checksums in a PKGBUILD file. It downloads the sources (if needed) and calculates new checksums, updating the PKGBUILD file. Defaults to the PKGBUILD in the current directory if no file is specified. Unless a preexisting hashing algorithm is already specified in the PKGBUILD, SHA256 will be used for the new checksums.

How do I run a basic updpkgsums example?

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

What does -h, --help do in updpkgsums?

Display help information.