1 .TH "ANALYSE" "22" "Febuary 2010" "GENTOOLKIT" ""
3 analyse \- Gentoo Installed Package Analysis Tool
6 .BI "analyse " "[global\-options] " "module " "[local\-options]" "TARGET"
10 Is a collection of modules for analysing the state of installed Gentoo packages for
11 USE flags or keywords used for installation, and their current masking status.
13 It can also optionally (re)generate new /etc/portage/package.* files.
18 This is beta software and is not yet feature complete. Some features, options or its name
19 may change in the future. Any files that it generates are saved to your home directory
20 and will not harm your system without effort on your part.
27 Output a help message.
31 Be less verbose where possible. In some modules, this option can increase the output speed.
35 Do not colorize output.
39 Turn off automatic pipe detection. Use this option if you do not want
41 To detect if the output is being directed to the screen or to another program
42 and adjust color and verbosity accordingly.
46 Display \fBGentoolkit\fP's version. Please include this in all bug reports. (see
52 Uses a system of modules. Each module has both a long and short name.
53 The list below uses the notation "\fBmodule (m)\fP", where \fIm\fP is the short name
54 and \fImodule\fP is the long name.
58 message for a specific module by using
59 .BR "\-h" ", " "\-\-help "
60 as either a global option (after
62 and before the module name) or as a local option (after the module name).
65 .BI "analyse (a) [OPTIONS] TARGET"
66 Report on all installed packages for \fITARGET\fP.
73 Will analyse the installed with USE flags for output results.
77 Will analyse the USE flags information from the installed pkg's 'PKGUSE' file which contains
78 only flags settings from /etc/portage/package.use at the time of installation.
82 Will analyse the recorded keywords for output results.
86 Will analyse the installed packages and portage trees for pkgs that require unmasking and report them.
89 .I R "LOCAL OPTIONS" ":"
93 Will also include any USE flags used that were not enabled for some packages.
97 Gives more detail about the results found and the current task being performed.
103 analyse a \-\-verbose \-\-unset use
106 Report on all use flags used to install the packages. (\-\-unset) Include in the report all flags
107 that have been used but also were not set enabled for some packages.
108 (\-\-verbose) Also list the packages that used the USE flag setting.
109 The report will break down the useage and report the USE flag up to 3 times indicating its
110 setting {"+","\-"," "= unset} prepended to the flag name.
111 It will also color the output, red = Disabled, blue = Enabled, plain text = unset
115 .BI "rebuild (r) [OPTIONS] TARGET"
116 Create a list all packages for \fITARGET\fP settings that are needed for
117 other than the default settings.
123 Will analyse the USE flags for output results.
127 Will analyse the keywords for output results.
131 Will analyse the installed packages and portage trees for pkgs that require
132 unmasking and produce output/a new /etc/portage/package.unmask file.
134 .I R "LOCAL OPTIONS" ":"
138 Create files/output for all TARGET(s) found to need it. (not Implemented yet)
142 Will prepend the pkg with = as well as use the version information for the entries.
144 eg.: =CAT/PKG\-VER flag1 flag2
148 Sends the output to the screen instead of a file.
152 Gives more detail about the results found and the current task being performed.
157 analyse rebuild \-p use
160 Analyse the installed packages database and current system USE flag settings
161 and output the results in the form of:
166 CAT/PKG \-flag1 \-flag2 flag3 flag4...
169 .BI "clean (c) [OPTIONS] TARGET"
170 Clean all packages for \fITARGET\fP settings that are found with obsolete settings
171 for the current settings and pkg ebuild. (not Implemented yet)
177 Will analyse the USE flags and /etc/portage/package.use file(s) for entries that
178 are redundant or no longer used by the pkg.
182 Will analyse the keywords and /etc/portage/package.keywords file(s) for entries
183 that are no longer needed.
187 Will analyse the installed packages, /etc/portage/package.unmask file(s) and
188 portage trees for pkgs that no longer require unmasking.
190 .I R "LOCAL OPTIONS" ":"
194 Clean files/output for all TARGET(s) found to need it. (not Implemented yet)
198 Sends the output to the screen instead of a file.
202 Gives more detail about the results found and the current task being performed.
206 Submit bug reports to http://bugs.gentoo.org.
210 Brian Dolbec <brian.dolbec@gmail.com>, 2010