NAME
rpmgraph - 显示 RPM 软件包依赖关系图
SYNOPSIS
rpmgraph PACKAGE_FILE ...
DESCRIPTION
rpmgraph 使用 PACKAGE_FILE 参数来产生一个软件包依赖关系图。每个 PACKAGE_FILE 参数都被读取并添加到 rpm 事务集中。事务集的元素使用拓扑排序得到偏序关系。元素的偏序关系被输出到标准输出。
依赖关系图中的节点是软件包名称,有向图中的边指向每个节点的父节点。父节点被定义为,将软件包依赖性作为一个偏序关系,一个软件包的最近的前驱。这意味着,给定一个软件包,它的父节点是它依赖的软件包中的最后一个。
输出是 dot(1) 有向图格式,可以使用 graphviz 软件包中的 dotty 图像编辑器来显示或打印。没有特定于 rpmgraph 的选项,只有一般的 rpm 选项。参见 rpmgraph 用法信息,察看当前已实现的内容。
SEE ALSO
dot(1),
dotty(1),
#p#
NAME
rpmgraph - Display RPM Package Dependency Graph
SYNOPSIS
rpmgraph PACKAGE_FILE ...
DESCRIPTION
rpmgraph uses PACKAGE_FILE arguments to generate a package dependency graph. Each PACKAGE_FILE argument is read and added to an rpm transaction set. The elements of the transaction set are partially ordered using a topological sort. The partially ordered elements are then printed to standard output.
Nodes in the dependency graph are package names, and edges in the directed graph point to the parent of each node. The parent node is defined as the last predecessor of a package when partially ordered using the package dependencies as a relation. That means that the parent of a given package is the package's last prerequisite.
The output is in dot(1) directed graph format, and can be displayed or printed using the dotty graph editor from the graphviz package. There are no rpmgraph specific options, only common rpm options. See the rpmgraph usage message for what is currently implemented.
SEE ALSO
dot(1),
dotty(1),