1rpmreaper(1) General Commands Manual rpmreaper(1)
2
3
4
6 rpmreaper - A tool for removing unnecessary packages from system
7
8
10 rpmreaper [-lvh] [-r root] [limit]
11
12
14 rpmreaper is a simple ncurses application with a mutt-like interface
15 that allows removing unnecessary packages and their dependencies from
16 the system.
17
18
20 -l List packages matching limit, or all installed if not speci‐
21 fied.
22
23 -v Verbose listing.
24
25 -r root Specify root directory (default is /).
26
27 -h Print help.
28
29
30 A limit can be specified to limit the list of displayed packages. The
31 syntax is described in the SEARCH EXPRESSIONS section.
32
33
35 UP, DOWN, LEFT, PGUP, PGDOWN, HOME, END, TAB, BTAB, h, j, k
36 Move cursor.
37
38 [, ], <, >
39 Scroll screen.
40
41 d Mark the highlighted package to be removed.
42
43 D Mark the highlighted package to be removed even when there are
44 unmarked packages depending on the package.
45
46 E Recursively mark the highlighted package and unmarked packages
47 depending on the package to be removed.
48
49 u Unmark the highlighted package.
50
51 U Unmark the highlighted package even when some dependencies are
52 marked to be removed.
53
54 I Recursively unmark the highlighted package and marked packages
55 that the package depends on. Packages where a choice has to be
56 made to satisfy a dependency will be left with the b flag and
57 the missing packages should be unmarked manually.
58
59 r, R Show/hide list of packages/capabilities that are required by
60 the highlighted package/capability. When a package is high‐
61 lighted, R includes also packages that are required indirectly.
62
63 b, B Show/hide list of packages/capabilities that require the high‐
64 lighted package/capability. When a package is highlighted, B
65 includes also packages that require the highlighted package
66 indirectly.
67
68 m, M Show/hide list of capabilities required by the highlighted
69 package. With M the list is limited to capabilities that match
70 with capabilities provided by the parent package of the high‐
71 lighted package in the currently displayed tree.
72
73 p, P Show/hide list of capabilities provided by the highlighted
74 package. Only capabilities that are required by some other
75 packages may be listed. With P the list is limited to capabili‐
76 ties that match with capabilities required by the parent pack‐
77 age of the highlighted package in the currently displayed tree.
78
79 o Sort packages by name, flags or size.
80
81 l Limit the list of displayed packages. Uses the SEARCH EXPRES‐
82 SION syntax.
83
84 /, ? Search in the package list. Uses the SEARCH EXPRESSION syntax.
85
86 n Search for next package.
87
88 N Search for next package in the opposite direction.
89
90 i Run rpm -qil | less on the highlighted package. If environment
91 variable PAGER is set, its value is used instead of less.
92
93 c Run rpm -e on marked packages to remove them from the system.
94
95 C Similar to c, but extra options can be added to the rpm -e com‐
96 mand, e.g. --nodeps to ignore dependencies when removing the
97 packages.
98
99 q Ask to remove marked packages and quit. If the answer is no,
100 the list of marked packages will be written to stderr.
101
102 x Exit immediately.
103
104 F1, F2 Run man rpmreaper.
105
106 ^R Reload package list.
107
108 ^L Redraw screen.
109
110
112 L Leaf, no package depends on the package.
113
114 l Partial leaf, some packages may depend on the package and
115 removing the package may remove L/l flag from other packages.
116
117 D Marked to be removed.
118
119 o Part of a dependency cycle.
120
121 B Missing dependencies.
122
123 b Some packages required by the package are marked to be removed.
124
125
127 Search expression is a regular expression which can be optionally
128 extended with roughly mutt-esque directives for matching package flags.
129 Overall search expression syntax looks like this:
130
131 {[!]~flags }[!]regexp
132
133 Recognized flags are described in the section PACKAGE FLAGS. Search
134 expression matches a package, if the following three conditions hold:
135 any of the flags specified in ~ directives is set; none of the flags
136 specified in !~ directives are set; and the specified regular expres‐
137 sion matches the n-v-r[.a] string of the package. Regular expression
138 consisting of empty string matches all packages. If the regular expres‐
139 sion is preceded by !, its meaning is inverted (i.e. it matches where
140 the original wouldn't match and vice versa).
141
142 Examples:
143
144
145 noarch$ Match all noarch packages.
146
147 ~Ll !i386$
148 Match all leaf and partial leaf non-i386 packages.
149
150 !~D perl
151 Match all perl packages except those marked for deletion.
152
153
155 rpm(8)
156
157
159 Miroslav Lichvar <mlichvar@redhat.com>
160 Petr Machata <pmachata@redhat.com>
161
162
163
164 rpmreaper(1)