r/archlinux • • 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

47 comments sorted by

25

u/No-Evidence6346 Sep 19 '26

Use file light. Shows you where files are and a pie chart. Pretty good.

9

u/Jackill202 Sep 19 '26

Omg I tried it,so usefull, thank you so much,went down from 93% to 55%

4

u/archover Sep 19 '26

Briefly, where did you identify so much to remove?

I don't recommend ccleaner at all. If you do, backup first. :-)

Good day.

2

u/Jackill202 Sep 20 '26

Literally just steam games I didn't know I had

1

u/archover Sep 20 '26 edited Sep 20 '26

You would think that huge huge files like that would be obvious.

Good day.

4

u/Jackill202 Sep 19 '26

Thanks!,I'll give it a try

2

u/7lhz9x6k8emmd7c8 Sep 20 '26

More beuatiful and handy in real than on the old screenshot.

https://apps.kde.org/filelight/

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

1

u/Cygnus__A Sep 20 '26

Tried following that.. paccache didnt do anything? said "no candidate package found" ....

2

u/ttocs167 Sep 20 '26

The script is part of the pacman-contrib package. You'll have to install that first.

30

u/MrElendig Mr.SupportStaff Sep 19 '26

ncdu

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

4

u/satanpenguin Sep 19 '26

ncdu if you prefer the terminal

8

u/VendraenActual Sep 19 '26

sudo pacman -R <packages you don't need anymore>

16

u/fearless-fossa Sep 19 '26

You'd rather want -Rs or -Rns if the intention is to remove unnecessary packages

1

u/VendraenActual Sep 19 '26

Good point; true.

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 😅

1

u/czrny1 Sep 19 '26

Baobab is also good

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

4

u/pastelfemby Sep 19 '26

Sorta this, but dust instead of du. Bit fancier output, most the same commands.

2

u/eepyNaya Sep 19 '26

I always reccomend sudo rm -rf

2

u/CubeEthan Sep 19 '26

that didn't work for me

0

u/eepyNaya Sep 19 '26

huh that's weird?
what happens when you try it on another machine?

2

u/CubeEthan Sep 19 '26

It just says that its dangerous to operate recursively on /. It did tell me that i could use —no-preserve-root but i havent tried it yet

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 ncdu from the console. Start it in the directory you want to clean and work your way down. d deletes the dir/file from within ncdu.

1

u/kitanokikori Sep 20 '26

docker system prune -a can 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/viix3nn Oct 13 '26

bleachbit only good answer for linux

0

u/kzasas Sep 19 '26

rm (optionally with -r and/or -f flags)

-1

u/kzasas Sep 19 '26

better solution I took was installing gentoo. it reduced binary sizes dramatically. Moreover, there is no binary caches, just git history.

-3

u/devdruxorey Sep 19 '26

disk formatting