https://github.com/aokellermann/yaycache
Flexible yay cache cleaning
https://github.com/aokellermann/yaycache
archlinux aur aur-helper aur-packages cache pacman yay
Last synced: 5 months ago
JSON representation
Flexible yay cache cleaning
- Host: GitHub
- URL: https://github.com/aokellermann/yaycache
- Owner: aokellermann
- License: gpl-2.0
- Created: 2023-09-02T03:35:04.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-30T01:30:01.000Z (over 1 year ago)
- Last Synced: 2025-03-31T10:52:10.127Z (6 months ago)
- Topics: archlinux, aur, aur-helper, aur-packages, cache, pacman, yay
- Language: Shell
- Homepage: https://yaycache.aokellermann.dev/
- Size: 439 KB
- Stars: 37
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yaycache
Flexible yay cache cleaning similar to paccache.
## Usage
Usage is essentially the same as with [paccache](https://man.archlinux.org/man/paccache.8).
See `man yaycache` for more information, or view the docs [here](https://yaycache.aokellermann.dev).
### Pacman Hook
You can use `yaycache-hook` package (similar to `paccache-hook`) to automatically run `yaycache` with
configurable arguments after your `pacman` transactions.```sh
yay -S yaycache-hook
```The configuration is stored in `/etc/yaycache-hook.conf`.
### Systemd service
An optional systemd service is included that will run weekly:
```sh
systemctl enable --now yaycache.timer
```## Installing
An AUR package is available:
```sh
yay -S yaycache
```## Building
You can build the package yourself:
```sh
./autogen.sh
./configure --prefix=/usr
make
make check
make install DESTDIR="$pkgdir"
```