1 .TH "ENALYZE" "1" "Febuary 2010" "GENTOOLKIT" ""
3 enalyze \- Gentoo Installed Package Analysis Tool
6 .BI "enalyze " "[global\-options] " "module " "[local\-options]" " TARGET"
10 is a collection of modules for analyzing the state of installed Gentoo packages
11 for USE flags or keywords used for installation, and their current masking
14 It can also optionally (re)generate new /etc/portage/package.* files.
19 This is beta software and is not yet feature complete. Some features, options
20 may change in the future. Any files that it generates are saved to your home
21 directory and will not harm your system without effort on your part.
22 It also does not need to be run as root.
29 Output a help message.
33 Be less verbose where possible. In some modules, this option can increase
38 Do not colorize output.
42 Turn off automatic pipe detection. Use this option if you do not want
44 to detect if the output is being directed to the screen or to another program
45 and adjust color and verbosity accordingly.
49 Display \fBGentoolkit\fP's version. Please include this in all bug reports. (see
55 uses a system of modules. Each module has both a long and short name.
56 The list below uses the notation "\fBmodule (m)\fP", where \fIm\fP is the
57 short name and \fImodule\fP is the long name.
61 message for a specific module by using
62 .BR "\-h" ", " "\-\-help "
63 as either a global option (after
65 and before the module name) or as a local option (after the module name).
68 .BI "analyze (a) [OPTIONS] TARGET"
69 Report on all installed packages for \fITARGET\fP.
72 .I analyze "TARGET" ":"
76 Will analyze all installed packages for the installed with USE flags and output
81 Will analyze the USE flags information from the installed pkg's 'PKGUSE' file
82 which contains only flags settings from /etc/portage/package.use at the time
87 Will analyze the recorded keywords for output results.
91 Will analyze the installed packages and portage trees for pkgs that require
92 unmasking and report them.
96 .I rebuild "LOCAL OPTIONS" ":"
100 Will also include any USE flags used that were not enabled for some packages.
104 Gives more detail about the results found and the current task being performed.
107 .I analyze "EXAMPLES" ":"
110 enalyze a \-\-verbose \-\-unset use
113 Report on all use flags used to install the packages. (\-\-unset) Include
114 in the report all flags that have been used but also were not set enabled for
116 (\-\-verbose) Also list the packages that used the USE flag setting.
117 The report will break down the useage and report the USE flag up to 3 times
118 indicating its setting {"+","\-"," "= unset} prepended to the flag name.
119 It will also color the output, (the defaults are) red = Enabled,
120 blue = Disabled, plain text = unset
124 .BI "rebuild (r) [OPTIONS] TARGET"
125 Create a list all packages for \fITARGET\fP settings that are needed for
126 other than the default settings.
128 .I rebuild "TARGET" ":"
132 Will analyze the USE flags for output results.
136 Will analyze the keywords for output results.
140 Will analyze the installed packages and portage trees for pkgs that require
141 unmasking and produce output/a new /etc/portage/package.unmask file.
143 .I rebuild "LOCAL OPTIONS" ":"
147 Create files/output for all TARGET(s) found to need it. (Not implemented yet)
151 Will prepend the pkg with = as well as use the version information for
154 e.g.: =CAT/PKG\-VER flag1 flag2
158 Sends the output to the screen instead of a file.
162 Gives more detail about the results found and the current task being performed.
164 .I rebuild "EXAMPLES" ":"
167 enalyze rebuild \-p use
170 Analyze the installed packages database and current system USE flag settings
171 and output the results in the form of:
176 CAT/PKG \-flag1 \-flag2 flag3 flag4...
179 .BI "clean (c) [OPTIONS] TARGET"
180 Clean all packages for \fITARGET\fP settings that are found with obsolete
181 settings for the current settings and pkg ebuild.
182 .B (Not implemented yet)
184 .I clean "TARGET" ":"
188 Will analyze the USE flags and /etc/portage/package.use file(s) for entries that
189 are redundant or no longer used by the pkg. (Not implemented yet)
193 Will analyze the keywords and /etc/portage/package.keywords file(s) for entries
194 that are no longer needed. (Not implemented yet)
198 Will analyze the installed packages, /etc/portage/package.unmask file(s) and
199 portage trees for pkgs that no longer require unmasking. (Not implemented yet)
201 .I clean "LOCAL OPTIONS" ":"
205 Clean files/output for all TARGET(s) found to need it. (Not implemented yet)
209 Sends the output to the screen instead of a file. (Not implemented yet)
213 Gives more detail about the results found and the current task being performed.
214 (Not implemented yet)
217 Submit bug reports to http://bugs.gentoo.org.
221 Brian Dolbec <dolsen@gentoo.org>, 2010