2022-02-01 20:34:39 +00:00
|
|
|
---
|
|
|
|
keywords:
|
|
|
|
- IT
|
|
|
|
---
|
2022-01-29 19:41:03 +00:00
|
|
|
# Archlinux
|
|
|
|
### clean system from old files
|
|
|
|
```
|
|
|
|
paccache -r
|
|
|
|
paccache -ruk0
|
|
|
|
paccache -rk1
|
|
|
|
|
|
|
|
yay -Ycc
|
|
|
|
flatpak uninstall --unused
|
|
|
|
journalctl --disk-usage && journalctl --vacuum-size={size}M
|
|
|
|
```
|
|
|
|
or prepare the file`/etc/systemd/journald.conf` and this value:`SystemMaxUse=50M`
|
|
|
|
|