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 subtree of packages that are required by (with R also
60 indirectly) the highlighted package.
61
62 b, B Show/hide subtree of packages that require (with B also indi‐
63 rectly) the highlighted package.
64
65 o Sort packages by name, flags or size.
66
67 l Limit the list of displayed packages. Uses the SEARCH EXPRES‐
68 SION syntax.
69
70 /, ? Search in the package list. Uses the SEARCH EXPRESSION syntax.
71
72 n Search for next package.
73
74 N Search for next package in the opposite direction.
75
76 i Run rpm -qil | less on the highlighted package. If environment
77 variable PAGER is set, its value is used instead of less.
78
79 c Run rpm -e on marked packages.
80
81 C Run rpm -e --nodeps on marked packages.
82
83 q Ask to remove marked packages and quit. If the answer is no,
84 the list of marked packages will be written to stderr.
85
86 x Exit immediately.
87
88 F1, F2 Run man rpmreaper.
89
90 ^R Reload package list.
91
92 ^L Redraw screen.
93
94
96 L Leaf, no package depends on the package.
97
98 l Partial leaf, some packages may depend on the package and
99 removing the package may remove L/l flag from other packages.
100
101 D Marked to be removed.
102
103 o Part of a dependency cycle.
104
105 B Missing dependencies.
106
107 b Some packages required by the package are marked to be removed.
108
109
111 Search expression is a regular expression which can be optionally
112 extended with roughly mutt-esque directives for matching package flags.
113 Overall search expression syntax looks like this:
114
115 {[!]~flags }[!]regexp
116
117 Recognized flags are described in the section PACKAGE FLAGS. Search
118 expression matches a package, if the following three conditions hold:
119 any of the flags specified in ~ directives is set; none of the flags
120 specified in !~ directives are set; and the specified regular expres‐
121 sion matches the n-v-r[.a] string of the package. Regular expression
122 consisting of empty string matches all packages. If the regular expres‐
123 sion is preceded by !, its meaning is inverted (i.e. it matches where
124 the original wouldn't match and vice versa).
125
126 Examples:
127
128
129 noarch$ Match all noarch packages.
130
131 ~Ll !i386$
132 Match all leaf and partial leaf non-i386 packages.
133
134 !~D perl
135 Match all perl packages except those marked for deletion.
136
137
139 rpm(8)
140
141
143 Miroslav Lichvar <mlichvar@redhat.com>
144 Petr Machata <pmachata@redhat.com>
145
146
147
148 rpmreaper(1)