How to Clean Up /var/tmp on Linux
Linux applications can keep live work in temporary directories.
By Kudu Team · Reviewed
Kudu for Linux
See what Kudu cleans on Linux
Kudu lists supported package, app, and browser caches for review before cleaning, and manages XDG autostart entries. A headless agent is available for servers.
Download Kudu Free →How Kudu for Linux worksBefore You Clean
Linux applications can keep live work in temporary directories. /var/tmp may hold data intended to survive reboot. Removing every entry with rm -rf can disrupt applications.
Review and Clean Manually
-
Inspect usage with
df -hand the filesystem’s disk usage tools before deleting anything. -
Save work and finish package operations. Check which application owns a large temporary directory.
-
On a systemd-based distribution, inspect the configured tmpfiles rules and its cleanup timer. The distribution’s age-based policy is preferable to deleting the directory contents wholesale.
-
Follow the owning app’s documented cleanup procedure for an identified stale directory. Do not force-remove live files or sockets.
-
Verify running services and available space. Investigate a recurring leak rather than scheduling blanket deletion.
Where Kudu Helps
Kudu scans configured temporary-file targets and supports recent-file exclusions. Review the paths first; a temporary directory name does not prove its contents are expendable.
Open Clean up > System Cleaner and run Scan. Review the relevant category and expand its results to inspect the paths. Set exclusions for anything you need to keep, then check the full selected total before Clean. Results search filters the view; it does not erase selections elsewhere.
After cleaning, check the summary and Activity > Cleanup receipts for removed, skipped, or failed items. A receipt is an outcome record, not a backup. Recovery Centre restores supported settings, not deleted files. Compare actual disk free space and test the original symptom; cache removal alone is not a promise of better performance.
Download Kudu Free → · Cleaning reference
References

Kudu for Linux
See what Kudu cleans on Linux
Kudu lists supported package, app, and browser caches for review before cleaning, and manages XDG autostart entries. A headless agent is available for servers.
Download Kudu Free →How Kudu for Linux worksRelated guides
How to Clean Up the Downloads Folder on Linux
Downloads contains personal files, not just disposable cache.
How to Clean Up Flatpak Files on Linux
Flatpak runtimes, cached downloads, and per-app data are distinct.
How to Clean Up Large Journal Logs on Linux
If journal logs are taking too much space, Kudu can help clean them safely and reclaim disk storage.
How to Clean Up /tmp on Linux
Linux applications can keep live work in temporary directories.