Eclean/es

eclean es una herramienta para limpiar los ficheros fuente de Portage y los paquetes binarios. Es parte del paquete y gestionado por el proyecto Portage-Tools.

Instalación
Install eclean:

Utilización
By default, source files are located in the directory, while binary packages are located in the  directory. The locations for each can be changed by altering the  and the   variables respectively in. Both locations can grow quite big if not periodically cleaned; this is the reason eclean was created.

Full options list
Use eclean --help to see full action summary, options list, and usage breakdown:

Cleaning distfiles
Clean the source files directory by passing the  argument:

Or by running the short option:

Cleaning packages
Para el directorio con los paquetes binarios se utilza la orden:

Or by running the short option:

By default, source files and binary packages corresponding to any ebuild in the current Portage tree will not be deleted. This way, system administrators can easily downgrade a package or install a previously removed package, provided the package is still in the current Portage tree.

A modo de ejemplo, suponga que los paquetes foo-1.0 y foo-1.1 se encuentran ambos en el árbol de Portage. Después de actualizar desde foo-1.0 hacia , lance  eclean distfiles: se mantendrán los ficheros fuente de ambas versiones de modo que si hay un problema con foo-1.1</tt> entonces el usuario puede instalar fácilmente foo-1.0</tt> sin tener que descargar los fuentes de nuevo.

El otro caso posible es instalar un paquete que se eliminó previamente. Suponga que un paquete foo</tt> (cualquier versión) está instalado en el sistema. Después de (inadvertidamente) eliminarlo y lanzar eclean distfiles</tt>, los ficheros fuente para foo</tt> se mantendrán de modo que se puedan reinstalar si tener que descargar de nuevo los ficheros fuente.

Los mismos ejemplos se pueden aplicar para paquetes binarios.

To save more disk space, add the  option: every source file or binary package that does not correspond to some currently installed package with version will be deleted. Please notice that this way users will not be protected in case they need to downgrade a package or re-install a previously removed package.

As an alternative, use both the  and the   options: every source file or binary package that does not correspond to some currently installed package (version does not matter) will be deleted. This still will not protect in case a re-install of a previously removed package is needed, but it will protect the sources if the package needs to be downgraded later.

Para obtener más detalles, lea la página eclean(1) del manual:

Vea también

 * Gentoolkit/es