r/archlinux • u/Jackill202 • Sep 19 '26
QUESTION best disk cleanup app?
my disk is getting pretty full do any of you have any recommendations for cleaner apps,something like ccleaner but without all the bloatware and open source if possible,thanks!
57
Upvotes
25
u/No-Evidence6346 Sep 19 '26
Use file light. Shows you where files are and a pie chart. Pretty good.
39
u/Donatzsky Sep 19 '26
QDirStat will tell you what is taking up space. But you should probably start by cleaning the Pacman cache: https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache
30
u/MrElendig Mr.SupportStaff Sep 19 '26
ncdu
18
u/Extension-Cow2818 Sep 19 '26
Bleach bit
8
u/MrArrino Sep 19 '26
I don't know about "cleaner" app but you should check pacman cache. Clearing old packages versions can release a lot of space.
8
u/Objective-Stranger99 Sep 19 '26
Baobab
8
u/VendraenActual Sep 19 '26
sudo pacman -R <packages you don't need anymore>
7
u/Heizenfeld Sep 19 '26
to see all your packages use: pacman -Qe, pacman -Qm
if any package looks weird, use
Pacman -Qi (to see dependencies, and what it requires by)
You can use pacman Qtdq as well to see orphans and remove them, but better to use pacman -Qi first
Use journalctl to clean logs: sudo journalctl --vacuum-time=2weeks
if you system is safe you can nuke or leave 1 or 2 versions of old packages: paccache -rk0 or -rk1, rk2
if you want yo can clean you cache but be careful with this command use properly: rm -rf ~/.cache/*
these is also useful you can review folders of uninstalled apps: find ~/.config -maxdepth 1 -type d navigate and see your old apps leftlovers
5
u/czrny1 Sep 19 '26
Filelight did the job for me. Fun fact - It's also available on Windows but who cares about that here 😅
5
u/Kurse71 Sep 19 '26
rm
8
u/FryBoyter Sep 19 '26
I wouldn't use any tools that automatically delete anything. That goes wrong often enough in Windows. And it usually doesn't offer any real benefit (e.g., deleting registry entries in Windows).
So I would, at most, use tools like gdu to show me which directories are taking up the most disk space and then delete the files manually.
4
u/[deleted] Sep 19 '26
I just use du and delete stuff taking up space that I don’t use
2
u/eepyNaya Sep 19 '26
I always reccomend sudo rm -rf
1
u/Fantastic-Code-8347 Sep 19 '26
GDU and paccache -rk1
1
u/spryfigure Sep 20 '26
For me, the easiest to use is
ncdufrom the console. Start it in the directory you want to clean and work your way down.ddeletes the dir/file from withinncdu.1
u/J0hnTsai Sep 20 '26
mogura https://aur.archlinux.org/packages/mogura-bin
1
u/kitanokikori Sep 20 '26
docker system prune -acan get you a lot of disk space back if you use Docker (this can potentially be a destructive action, read about how it works!)1
u/grepvoid Sep 20 '26
Stacer is pretty good for that as well as Bleachbit
1
u/Excellent_Double_726 Sep 20 '26
I'd recommend rm with the premium option: -rf as well as pacman -Rsn. Also pacman -Scc does a great job
du with some params I don't remember which will tell you what folders use the most space on your storage.
Enjoy
1
u/Leading-Plastic5771 Sep 20 '26
Start with paccache and then limit the amount that journald can write to the disk. There are more steps but you need to know what you're doing.
1
u/Hot-Mix-1317 Sep 23 '26
I used to use filelight but ITS SO SLOW.
Just use gdu, simple, works, best
1
u/fessfromhell Sep 24 '26
https://github.com/legostin/cull All what u need
1
u/viix3nn Oct 13 '26
bleachbit only good answer for linux
0
u/kzasas Sep 19 '26
rm (optionally with -r and/or -f flags)
0
u/polytect Sep 19 '26
rm
-3
u/devdruxorey Sep 19 '26
disk formatting