| 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.32 2010/06/07 08:12:32 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v 1.33 2010/10/03 18:47:51 nightmorph Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide> |
5 | <guide> |
| 6 | <title>Gentoolkit</title> |
6 | <title>Gentoolkit</title> |
| 7 | |
7 | |
| … | |
… | |
| 35 | This document covers the basics of some of the tools present in Gentoolkit. |
35 | This document covers the basics of some of the tools present in Gentoolkit. |
| 36 | </abstract> |
36 | </abstract> |
| 37 | |
37 | |
| 38 | <!-- Licensed under GFDL --> |
38 | <!-- Licensed under GFDL --> |
| 39 | |
39 | |
| 40 | <version>1.13</version> |
40 | <version>2</version> |
| 41 | <date>2010-06-07</date> |
41 | <date>2010-10-03</date> |
| 42 | |
42 | |
| 43 | <chapter> |
43 | <chapter> |
| 44 | <title>Introduction</title> |
44 | <title>Introduction</title> |
| 45 | <section> |
45 | <section> |
| 46 | <title>What is Gentoolkit?</title> |
46 | <title>What is Gentoolkit?</title> |
| … | |
… | |
| 780 | file. |
780 | file. |
| 781 | </p> |
781 | </p> |
| 782 | |
782 | |
| 783 | </body> |
783 | </body> |
| 784 | </section> |
784 | </section> |
|
|
785 | <section> |
|
|
786 | <title>eclean</title> |
|
|
787 | <body> |
|
|
788 | |
|
|
789 | <p> |
|
|
790 | <c>eclean</c> is a tool to remove old source files and old binary packages from |
|
|
791 | your system. |
|
|
792 | </p> |
|
|
793 | |
|
|
794 | <p> |
|
|
795 | When you build and install packages, the source files are downloaded and |
|
|
796 | preserved in DISTDIR, usually <path>/usr/portage/distfiles</path>. This can |
|
|
797 | accumulate several gigs of material over time if you don't clean it |
|
|
798 | periodically. You can run <c>eclean-dist</c> to clean only source files from |
|
|
799 | DISTDIR. |
|
|
800 | </p> |
|
|
801 | |
|
|
802 | <p> |
|
|
803 | You can create archives of installed packages by using <c>quickpg</c> or |
|
|
804 | FEATURES="buildpkg". These archived packages are kept in PKGDIR, usually |
|
|
805 | <path>/usr/portage/packages</path>. When you no longer need to keep them around, |
|
|
806 | or if they're too old, you can run <c>eclean-pkg</c> to remove them from PKGDIR. |
|
|
807 | It's a good way to ensure that any binary packages you have are only the latest |
|
|
808 | versions. |
|
|
809 | </p> |
|
|
810 | |
|
|
811 | <p> |
|
|
812 | For more information on <c>eclean</c> and tips on maintaining a cruft-free |
|
|
813 | system, please read <c>man eclean</c>. |
|
|
814 | </p> |
|
|
815 | |
|
|
816 | </body> |
|
|
817 | </section> |
| 785 | </chapter> |
818 | </chapter> |
| 786 | |
|
|
| 787 | </guide> |
819 | </guide> |