1RPMDEP(1) User Contributed Perl Documentation RPMDEP(1)
2
3
4
6 rpmdep - display the full dependency of an installed rpm package
7
9 rpmdep is an improved 'rpm -qR' command : it search recursively for
10 package dependencies, and resolves all dependencies to package names.
11 It can also prepare a file to build a graph of dependencies, with
12 graphviz.
13
15 rpmdep.pl [options] package
16
17 options:
18
19 -help brief help message
20 -man full documentation
21 -V, --version print version
22 -use-cache use cache file instead rpm query
23 -clear-cache clear cache file
24
25 -level display dependencies by level
26 -debug debug mode
27 -dot dotfile build a dot file for graphviz
28 -depending instead of dependencies, display dependings
29 -suggests also show very weak dependencies : suggests
30 -recommends also show weak dependencies : recommends
31 -all works on all installed packages
32
34 a package to analyse. Only one name may be given. It is not necessary
35 if you are using the -all option.
36
38 -help Print a brief help message and exits.
39
40 -man Print the manual page and exits.
41
42 -version
43 Print the program release and exit.
44
45 -debug The program works and print debugging messages.
46
47 -level The program also print dependencies by level
48
49 -dot create a dot file to be used by graphviz. in normal call, an
50 arrow from a to b means that a package depends (uses) b
51 package. in dependings call, an arrow from a to b means that a
52 package is used by b package.
53
54 -use-cache
55 the rpm query may be long (10 to 30 s). If you will run an
56 rpmorphan tool several time, this option will allow to gain a
57 lot of time : it save the rpm query on a file cache (first
58 call), then use this cache instead quering rpm (others calls).
59
60 -clear-cache
61 to remove cache file. Can be used with -use-cache to write a
62 new cache.
63
64 --depending
65 instead of showing package dependencies (rpm -qR), display
66 packages wich are depending upon the given argument : it then
67 act as an improved 'rpm -q --whatrequires' command
68
69 --suggests
70 add to "required" dependencies, very weak dependencies
71
72 --recommends
73 add to "required" dependencies, weak dependencies
74
75 --all rpmdep will then work on all installed packages, and display
76 the results sorted by the number of depends (or dependings).
77
79 get the full list of dependencies for rpmrebuild package
80
81 rpmdep.pl rpmrebuild
82
83 get the full list of dependencies for rpmrestore package and build the
84 graph data file (rpmrestore.dot)
85
86 rpmdep.pl -dot rpmrestore.dot rpmrestore
87
88 build a png graph image from the graph data
89
90 dot -Tpng rpmrestore.dot -o rpmrestore.png
91
92 get depending package of perl
93
94 rpmdep.pl --depending perl
95
96 check is a package is an orphan
97
98 rpmdep.pl --depending afick-gui
99
100 list all package dependencies
101
102 rpmdep.pl -a
103
104 list all packages dependings and prepare a graph
105
106 rpmdep.pl -a --depending --dot alldep.dot
107
108 get all dependencies of rpmrebuild package
109
110 rpmdep.pl -suggests --recommends rpmrebuild
111
113 the program can use the /tmp/rpmorphan.cache file
114
116 the debug mode allow to see all the recursive work
117
118 others messages are
119
120 package ... is not installed
121 this is not a name of an installed package
122
123 ... has no dependencies
124 this can comes for some admin tools (ash for example)
125
126 ... depends upon (list)
127 return a list of sorted and comma separated packages
128
129 ... is needed by (list)
130 return the depending package list
131
132 no depending : ... is an orphan
133 the given package has no depending packages : it is an orphan
134
136 O if all is ok
137
138 >=1 if a problem
139
141 nothing
142
144 you should use graphviz to build graph from dot files
145
147 not known
148
150 the program does not work well on program installed in several versions
151
152 the code does not use the following rpm tags : Supplements, Enhances
153
155 this program can be used as "normal" (unpriviledge) user
156
158 rpm(1) for rpm call
159
160 rpmorphan(1)
161
162 rpmusage(1)
163
164 rpmduplicates(1)
165
166 rpmextra(1)
167
169 Copyright (C) 2008 by Eric Gerbier This program is free software; you
170 can redistribute it and/or modify it under the terms of the GNU General
171 Public License as published by the Free Software Foundation; either
172 version 2 of the License, or (at your option) any later version.
173
175 Eric Gerbier
176
177 you can report any bug or suggest to gerbier@users.sourceforge.net
178
179
180
181perl v5.26.2 2018-09-13 RPMDEP(1)