This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
DISTDIR
The DISTDIR variable defines the location where Portage will store the downloaded source code archives. Its value defaults to /usr/portage/distfiles.
This location, which is also often referred to as the distfiles location, will host the source code archives of all software installed (or attempted to install) on the system. This location is not automatically cleaned up, so users should consider using tools such as the eclean-dist command (which comes as part of the app-portage/gentoolkit package) to keep the storage used by this location under control. Read the Eclean article for more details.
Benutzer können die Variable DISTCIR in /etc/portage/make.conf setzen.
/etc/portage/make.conf
Using a different DISTDIR locationDISTDIR=/var/gentoo/distfiles
Siehe auch
- Basiswissen: Entfernen nicht mehr benötigter Quelltextdateien
- Eclean - Ein Programm um nicht mehr benötigte Quelltext- und Binärdateien vom Rechner zu entfernen.