.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "RPMDEP 1" .TH RPMDEP 1 "2018-09-13" "perl v5.26.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" rpmdep \- display the full dependency of an installed rpm package .SH "DESCRIPTION" .IX Header "DESCRIPTION" rpmdep is an improved 'rpm \-qR' command : it search recursively for package dependencies, and resolves all dependencies to package names. It can also prepare a file to build a graph of dependencies, with graphviz. .SH "SYNOPSIS" .IX Header "SYNOPSIS" rpmdep.pl [options] package .PP options: .PP .Vb 5 \& \-help brief help message \& \-man full documentation \& \-V, \-\-version print version \& \-use\-cache use cache file instead rpm query \& \-clear\-cache clear cache file \& \& \-level display dependencies by level \& \-debug debug mode \& \-dot dotfile build a dot file for graphviz \& \-depending instead of dependencies, display dependings \& \-suggests also show very weak dependencies : suggests \& \-recommends also show weak dependencies : recommends \& \-all works on all installed packages .Ve .SH "REQUIRED ARGUMENTS" .IX Header "REQUIRED ARGUMENTS" a package to analyse. Only one name may be given. It is not necessary if you are using the \-all option. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-help\fR" 8 .IX Item "-help" Print a brief help message and exits. .IP "\fB\-man\fR" 8 .IX Item "-man" Print the manual page and exits. .IP "\fB\-version\fR" 8 .IX Item "-version" Print the program release and exit. .IP "\fB\-debug\fR" 8 .IX Item "-debug" The program works and print debugging messages. .IP "\fB\-level\fR" 8 .IX Item "-level" The program also print dependencies by level .IP "\fB\-dot\fR" 8 .IX Item "-dot" create a dot file to be used by graphviz. in normal call, an arrow from a to b means that a package depends (uses) b package. in dependings call, an arrow from a to b means that a package is used by b package. .IP "\fB\-use\-cache\fR" 8 .IX Item "-use-cache" the rpm query may be long (10 to 30 s). If you will run an rpmorphan tool several time, this option will allow to gain a lot of time : it save the rpm query on a file cache (first call), then use this cache instead quering rpm (others calls). .IP "\fB\-clear\-cache\fR" 8 .IX Item "-clear-cache" to remove cache file. Can be used with \-use\-cache to write a new cache. .IP "\fB\-\-depending\fR" 8 .IX Item "--depending" instead of showing package dependencies (rpm \-qR), display packages wich are depending upon the given argument : it then act as an improved 'rpm \-q \-\-whatrequires' command .IP "\fB\-\-suggests\fR" 8 .IX Item "--suggests" add to \*(L"required\*(R" dependencies, very weak dependencies .IP "\fB\-\-recommends\fR" 8 .IX Item "--recommends" add to \*(L"required\*(R" dependencies, weak dependencies .IP "\fB\-\-all\fR" 8 .IX Item "--all" rpmdep will then work on all installed packages, and display the results sorted by the number of depends (or dependings). .SH "USAGE" .IX Header "USAGE" get the full list of dependencies for rpmrebuild package .PP .Vb 1 \& rpmdep.pl rpmrebuild .Ve .PP get the full list of dependencies for rpmrestore package and build the graph data file (rpmrestore.dot) .PP .Vb 1 \& rpmdep.pl \-dot rpmrestore.dot rpmrestore .Ve .PP build a png graph image from the graph data .PP .Vb 1 \& dot \-Tpng rpmrestore.dot \-o rpmrestore.png .Ve .PP get depending package of perl .PP .Vb 1 \& rpmdep.pl \-\-depending perl .Ve .PP check is a package is an orphan .PP .Vb 1 \& rpmdep.pl \-\-depending afick\-gui .Ve .PP list all package dependencies .PP .Vb 1 \& rpmdep.pl \-a .Ve .PP list all packages dependings and prepare a graph .PP .Vb 1 \& rpmdep.pl \-a \-\-depending \-\-dot alldep.dot .Ve .PP get all dependencies of rpmrebuild package .PP .Vb 1 \& rpmdep.pl \-suggests \-\-recommends rpmrebuild .Ve .SH "FILES" .IX Header "FILES" the program can use the /tmp/rpmorphan.cache file .SH "DIAGNOSTICS" .IX Header "DIAGNOSTICS" the debug mode allow to see all the recursive work .PP others messages are .IP "\fBpackage ... is not installed\fR" 8 .IX Item "package ... is not installed" this is not a name of an installed package .IP "\fB... has no dependencies\fR" 8 .IX Item "... has no dependencies" this can comes for some admin tools (ash for example) .IP "\fB... depends upon (list)\fR" 8 .IX Item "... depends upon (list)" return a list of sorted and comma separated packages .IP "\fB... is needed by (list)\fR" 8 .IX Item "... is needed by (list)" return the depending package list .IP "\fBno depending : ... is an orphan\fR" 8 .IX Item "no depending : ... is an orphan" the given package has no depending packages : it is an orphan .SH "EXIT STATUS" .IX Header "EXIT STATUS" O if all is ok .PP >=1 if a problem .SH "CONFIGURATION" .IX Header "CONFIGURATION" nothing .SH "DEPENDENCIES" .IX Header "DEPENDENCIES" you should use graphviz to build graph from dot files .SH "INCOMPATIBILITIES" .IX Header "INCOMPATIBILITIES" not known .SH "BUGS AND LIMITATIONS" .IX Header "BUGS AND LIMITATIONS" the program does not work well on program installed in several versions .PP the code does not use the following rpm tags : Supplements, Enhances .SH "NOTES" .IX Header "NOTES" this program can be used as \*(L"normal\*(R" (unpriviledge) user .SH "SEE ALSO" .IX Header "SEE ALSO" \fIrpm\fR\|(1) for rpm call .PP \fIrpmorphan\fR\|(1) .PP \fIrpmusage\fR\|(1) .PP \fIrpmduplicates\fR\|(1) .PP \fIrpmextra\fR\|(1) .SH "LICENSE AND COPYRIGHT" .IX Header "LICENSE AND COPYRIGHT" Copyright (C) 2008 by Eric Gerbier This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .SH "AUTHOR" .IX Header "AUTHOR" Eric Gerbier .PP you can report any bug or suggest to gerbier@users.sourceforge.net