PKGDIFF(1)
π
PKGDIFF(1) β the pkgdiff glow-up
okay bestie, sit down, hydrate, and let me tell you about pkgdiff β it lives in the User Commands section of the manual (PKGDIFF(1), one of the good ones), and it's genuinely one of the most underrated tools in the Linux girlie toolkit. no cap.
β¨ NAME β¨
pkgdiff β a tool for visualizing changes in Linux software packages. that's it, that's the whole vibe. π
πΈ DESCRIPTION πΈ
π NAME:
Package Changes Analyzer β a tool for visualizing changes in Linux software packages. yes it has two names, it's got main character energy, deal with it.
π¦ DESCRIPTION:
Package Changes Analyzer (PkgDiff) is a tool for visualizing changes in Linux software packages (RPM, DEB, TAR.GZ, etc).
The tool can compare directories as well (with the help of the -d option). vers. iconic.
The tool is intended for Linux maintainers who are interested in ensuring compatibility of old and new versions of packages. so like, if you maintain a package and you're stressed about breaking everyone β this is your emotional support diff tool fr fr.
π This tool is free software: you can redistribute it and/or modify it under the terms of the GNU GPL.
π USAGE:
pkgdiff PKG1 PKG2 [options] pkgdiff -d DIR1/ DIR2/ [options]
β EXAMPLES:
pkgdiff OLD.rpm NEW.rpm pkgdiff OLD.deb NEW.deb pkgdiff OLD.tar.gz NEW.tar.gz
π«Ά ARGUMENTS:
PKG1β path to the old version of a package (RPM,DEB,TAR.GZ, etc).
If you need to analyze a group of packages then you can pass an XML-descriptor of this group (VERSION.xml file):
<version>
/* Group version */
</version>
<group>
/* Group name */
</group>
<packages>
/path1/to/package(s) /path2/to/package(s) ...
</packages>
PKG2β path to the new version of a package (RPM,DEB,TAR.GZ, etc).
π INFORMATION OPTIONS:
-h|-helpβ print this help.-v|-versionβ print version information.-dumpversionβ print the tool version (1.8) and don't do anything else. one job and it ate.
π GENERAL OPTIONS:
-report-path PATHβ path to the report. Default:pkgdiff_reports/<pkg>/<v1>_to_<v2>/changes_report.html-detailsβ try to create detailed reports.-size-limit SIZEβ don't analyze files larger than SIZE in kilobytes.-width WIDTHβ width of the Visual Diff. Default:80-prelines NUMβ size of the context in the Visual Diff. Default:10-ignore-space-changeβ ignore changes in the amount of white space.-ignore-all-spaceβ ignore all white space.-ignore-blank-linesβ ignore changes whose lines are all blank.-quickβ quick mode without creating of Visual Diffs for files.-minimalβ try to find a smaller set of changes.-no-wdiffβ do not use GNU Wdiff for analysis of changes. This may be two times faster, but produces lower quality reports. fast but messy, we love a tradeoff π
π OTHER OPTIONS:
-check-usageβ check if package content is used by other packages in the repository.-pkg-manager NAMEβ specify package management tool. Supported:urpmβ Mandriva URPM
-templateβ create XML-descriptor template./VERSION.xml-extra-info DIRβ dump extra info to DIR.-tmp-dir DIRβ use custom temp directory.-c|-hide-unchangedβ don't show unchanged files in the report.-debugβ show debug info.-name NAMEβ set name of the package to NAME.-title TITLEβ set name of the package in the title of the report to TITLE.-vnum1 NUMβ set version number of the old package to NUM.-vnum2 NUMβ set version number of the new package to NUM.-links-target TARGETβ set target attribute for links in the report:_self(default)_blank
-list-added-removedβ show content of added and removed text files.-skip-subarchivesβ skip checking of archives inside the input packages.-skip-pattern REGEXβ don't check files matching REGEX.-d|-directoriesβ compare directories instead of packages.-all-textβ treat all files in the archive as text files.-check-byte-codeβ when comparing Java classes, also check for byte code changes.-full-method-diffsβ perform a full diff of method bodies when-check-byte-codeis specified.-track-unchangedβ track unchanged files in extra info.
π§ REPORT:
Report will be generated to:
pkgdiff_reports/<pkg>/<v1>_to_<v2>/changes_report.html
π EXIT CODES:
0β Unchanged. The tool has run without any errors.- non-zero β Changed or the tool has run with errors.
π₯ MORE INFORMATION:
https://github.com/lvc/pkgdiff
π AUTHOR π
This manual page was written by Peter Spiess-Knafl <dev@spiessknafl.at> for the Debian GNU/Linux system (but may be used by others). okay king, thank you for your service π«Ά
Written by Andrey Ponomarenko.
β COPYRIGHT β
Copyright Β© 2022 Andrey Ponomarenko's ABI Laboratory License: GNU GPL <http://www.gnu.org/licenses/> This program is free software: you can redistribute it and/or modify it.
and that's the whole page bestie, no notes, she ate and left no crumbs π
Package Changes Analyzer (PkgD... β August 2025 β PKGDIFF(1) πβ¨ that's the version-and-date sign-off, mwah, go diff something and slay ππ¦π
π¦ where this page comes from
- ubuntu resolute: pkgdiff 1.8-0.1 Β· GPL-2.0-only
- ubuntu stonking: pkgdiff 1.8-0.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms