dpkg-deb 是 Debian 系统中用于处理 .deb 软件包的工具。以下是一些常用的 dpkg-deb 选项:
-x, --extract [options] package-file output-directory:
.deb 文件中提取文件到指定的目录。-X, --extract-path path package-file:
-x,但会保留原始的目录结构。-c, --control package-file:
.deb 文件中的控制信息(如 control, md5sums 等)。-I, --info package-file:
.deb 文件的详细信息,包括包名、版本、架构、依赖关系等。-f, --field field-name package-file:
Package, Version, Architecture 等。-R, --root-owner package-file:
-b, --build directory:
.deb 文件,从指定的目录中包含文件。-c, --control output-file:
-x, --extract package-file:
.deb 文件中提取文件到当前目录。这些选项可以帮助你管理和操作 Debian 软件包。使用 dpkg-deb --help 可以查看更详细的帮助信息和所有可用选项。