LinuxCommandLibrary

pkgctl-diff

Compare Arch package file differences

TLDR

Compare package files in tar content list mode (default)

$ pkgctl diff -l path/to/file
copy
Compare package files using diffoscope
$ pkgctl diff -d path/to/file
copy
Compare package .PKGINFO files
$ pkgctl diff -p path/to/file
copy
Compare package .BUILDINFO files
$ pkgctl diff -b path/to/file
copy

SYNOPSIS

pkgctl diff [options] file|pkgname

DESCRIPTION

pkgctl diff compares package files using different comparison modes. It can show differences in package contents, metadata, and build information between package versions.
This is useful for package maintainers to review changes before releasing updates and for verifying reproducible builds.

PARAMETERS

-l, --list

Compare using tar content list mode (default)
-d, --diffoscope
Compare using diffoscope for detailed diff
-p, --pkginfo
Compare .PKGINFO metadata files
-b, --buildinfo
Compare .BUILDINFO files

CAVEATS

Diffoscope mode requires the diffoscope package to be installed. Large packages may take time to compare.

HISTORY

Part of pkgctl, the Arch Linux package control tool for official repository maintainers.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community