# How do you clean up the system?

**URL:** https://forum.maboxlinux.org/t/how-do-you-clean-up-the-system/1658
**Category:** Basic Help & Support
**Created:** [March 29, 2024, 9:54pm UTC](https://forum.maboxlinux.org/t/how-do-you-clean-up-the-system/1658 "2024-03-29T21:54:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)
#### Post date: [March 30, 2024, 9:44pm UTC](https://forum.maboxlinux.org/t/how-do-you-clean-up-the-system/1658/2 "2024-03-30T21:44:30Z")

</div>

### Packages cache

I clear the package cache every now and then.

To see some statistics about packages and cache:

```auto
yay -Ps

```

Then to clear cache:

```auto
yay -Sc

```

### Logs

To see disk usage:

```auto
journalctl --disk-usage
Archived and active journals take up 667.8M in the file system.

```

And to delete part of logs (for example):

```auto
journalctl --vacuum-size=200M

```

### Home directory

Also I use **qdirstat** to see statistics and clean my home directory → [GitHub - shundhammer/qdirstat: QDirStat - Qt-based directory statistics (KDirStat without any KDE - from the original KDirStat author)](https://github.com/shundhammer/qdirstat)

---

_[View the full topic](https://forum.maboxlinux.org/t/how-do-you-clean-up-the-system/1658)._
