/[gentoo]/xml/htdocs/doc/en/gentoolkit.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoolkit.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v 1.21 2005/06/07 06:26:26 fox2mike Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v 1.22 2006/01/01 11:51:43 neysx Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/gentoolkit.xml"> 5<guide link="/doc/en/gentoolkit.xml">
6<title>Gentoolkit</title> 6<title>Gentoolkit</title>
7 7
8<author title="Author"> 8<author title="Author">
9 <mail link="mbutcher@aleph-null.tv">Matt Butcher</mail> 9 <mail link="mbutcher@aleph-null.tv">Matt Butcher</mail>
10</author> 10</author>
11<author title="Editor"> 11<author title="Editor">
12 <!-- zhen@gentoo.org -->John P. Davis 12 <!-- zhen@gentoo.org -->John P. Davis
13</author> 13</author>
14<author title="Editor"> 14<author title="Editor">
15 <mail link="erwin@gentoo.org">Erwin</mail> 15 <mail link="erwin@gentoo.org">Erwin</mail>
16</author> 16</author>
17<author title="Editor"> 17<author title="Editor">
209package. The dependency graph gives a listing of all the packages that have 209package. The dependency graph gives a listing of all the packages that have
210direct and indirect dependencies on the package in question. 210direct and indirect dependencies on the package in question.
211</p> 211</p>
212 212
213<pre caption="Dependency Graph for cdrtools"> 213<pre caption="Dependency Graph for cdrtools">
214# <i>equery depgraph cdrtools</i> 214# <i>equery depgraph cdrtools</i>
215Displaying dependencies for app-cdr/cdrtools-2.01_alpha37 215Displaying dependencies for app-cdr/cdrtools-2.01_alpha37
216`-- app-cdr/cdrtools-2.01_alpha37 216`-- app-cdr/cdrtools-2.01_alpha37
217 `-- sys-libs/glibc-2.3.4.20040808 (virtual/libc) 217 `-- sys-libs/glibc-2.3.4.20040808 (virtual/libc)
218 `-- sys-kernel/linux-headers-2.4.22 (virtual/os-headers) 218 `-- sys-kernel/linux-headers-2.4.22 (virtual/os-headers)
219 `-- sys-apps/baselayout-1.10.4 219 `-- sys-apps/baselayout-1.10.4
220 `-- sys-apps/sysvinit-2.85-r1 220 `-- sys-apps/sysvinit-2.85-r1
221 `-- sys-apps/gawk-3.1.3-r1 221 `-- sys-apps/gawk-3.1.3-r1
222 `-- sys-apps/util-linux-2.12-r4 222 `-- sys-apps/util-linux-2.12-r4
223 `-- sys-apps/sed-4.0.9 223 `-- sys-apps/sed-4.0.9
224 `-- sys-libs/ncurses-5.4-r4 224 `-- sys-libs/ncurses-5.4-r4
225 `-- sys-apps/pam-login-3.14 225 `-- sys-apps/pam-login-3.14
226 `-- sys-libs/pam-0.77-r1 226 `-- sys-libs/pam-0.77-r1
227 `-- sys-libs/cracklib-2.7-r10 227 `-- sys-libs/cracklib-2.7-r10
228 `-- sys-apps/miscfiles-1.3-r1 228 `-- sys-apps/miscfiles-1.3-r1
229 `-- app-arch/gzip-1.3.5-r1 229 `-- app-arch/gzip-1.3.5-r1
230 `-- sys-apps/portage-2.0.50-r10 230 `-- sys-apps/portage-2.0.50-r10
231</pre> 231</pre>
232 232
233<p> 233<p>
234For example, while glibc is a direct dependency for cdrtools,linux-headers 234For example, while glibc is a direct dependency for cdrtools,linux-headers
235are an indirect dependency. Note that the output also includes information 235are an indirect dependency. Note that the output also includes information
236about virtual packages. In the example above, <c>cdrtools</c> is actually 236about virtual packages. In the example above, <c>cdrtools</c> is actually
237written to require virtual/libc, not sys-libs/glibc, but on the given 237written to require virtual/libc, not sys-libs/glibc, but on the given
238system in the example sys-libs/glibc provides virtual/libc. 238system in the example sys-libs/glibc provides virtual/libc.
239</p> 239</p>
240 240
241</body> 241</body>
357</section> 357</section>
358<section> 358<section>
359<title>Finding Package Sizes</title> 359<title>Finding Package Sizes</title>
360<body> 360<body>
361 361
362<p> 362<p>
363Ever been curious to find out how much space a specific package is occupying? 363Ever been curious to find out how much space a specific package is occupying?
364Since a package could have its files over a number of directories, the usual 364Since a package could have its files over a number of directories, the usual
365<c>du -hc</c> might not give you the correct figure. Not to worry, here comes 365<c>du -hc</c> might not give you the correct figure. Not to worry, here comes
366<c>equery</c> to the rescue! 366<c>equery</c> to the rescue!
367</p> 367</p>
368 368
369<pre caption="Package Size"> 369<pre caption="Package Size">
370# <i>equery size openoffice-bin</i> 370# <i>equery size openoffice-bin</i>
371* app-office/openoffice-bin-1.1.2 371* app-office/openoffice-bin-1.1.2
372 Total Files : 2908 372 Total Files : 2908
373 Total Size : 223353.31 KiB 373 Total Size : 223353.31 KiB
374</pre> 374</pre>
375 375
376<p> 376<p>
377As you can see, <c>equery</c> prints the total space used in kilobytes and 377As you can see, <c>equery</c> prints the total space used in kilobytes and
378also lists the total number of files the package has. 378also lists the total number of files the package has.
379</p> 379</p>
380 380
381</body> 381</body>
382</section> 382</section>
383<section> 383<section>
384<title>Package-wise list of USE Flags</title> 384<title>Package-wise list of USE Flags</title>
385<body> 385<body>
386 386
387<p> 387<p>
388<c>equery</c> can be used to give us information about what USE flags 388<c>equery</c> can be used to give us information about what USE flags

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20