Difference between yay --cleanafter
and yaycache -r --remove-build-files
#7
-
Sorry about frequently asking questions. So yay downloads build-files which can be either:
So anything except
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No worries. I just now enabled discussions for this repo so future questions can go here instead: https://github.com/aokellermann/yaycache/discussions AUR packages are just git repos that usually just contain a
|
Beta Was this translation helpful? Give feedback.
No worries. I just now enabled discussions for this repo so future questions can go here instead: https://github.com/aokellermann/yaycache/discussions
AUR packages are just git repos that usually just contain a
PKGBUILD
and maybe a couple other files. All other files such as the source code's repo andpkg.tar.zst
are "untracked" in git terms.--remove-build-files
: Removes all untracked files exceptpkg.tar.zst
files. It also takes into account arguments likemin-mtime
/min-atime
and--ignore
.--cleanafter
: According to https://linuxcommandlibrary.com/man/yay it removes all untracked files except directories (no idea why).