Files
cheatsheet-tldr/tldr/linux/eclean
2025-06-29 00:23:20 +00:00

26 lines
670 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# eclean
> Clean repository source files and binary packages.
> More information: <https://wiki.gentoo.org/wiki/Eclean>.
- Clean the source file directory:
`sudo eclean distfiles`
- Clean the binary package directory:
`sudo eclean packages`
- Clean the distfiles of all uninstalled packages, but keep the distfiles of installed packages:
`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} distfiles`
- Clean the binary packages of all uninstalled packages, but keep the binaries of installed packages:
`sudo eclean {{[-d|--deep]}} {{[-n|--package-names]}} packages`