How i can clean space on my System

There’s a app like Geek for Linux? how i can clean space on the disk i have like 20 gb and i don’t have things really heavy

I never heard of ‘Geek for Linux’ or have any idea what it would do…

@cscs might approve of this one…
https://cscs.tech/maclean/

However, if you only have 20GB, I think you aren’t serious about running Linux - 20GB is paltry, even if you had an ultra budget 250GB SSD as your main drive.

Used very carefully, BleachBit can delete unused language files, similar to localepurge (on Debian systems).

Also, /home/username/.cache/* might contain stuff you could delete. And ironically, web browers sometimes DON’T delete what they claim they do in /tmp/*

If you’re using wine, don’t forget to clean out the windows temp locations, of where there are a few (topic for a different discussion). At the very least, you could empty out c:\Windows\Temp

Also, some systems (Ubuntu Studio, I’m looking at you!) might have too many fonts stored in /usr/share/fonts/*

I have had a little bit of luck with both BleachBit and Stacer.
BleachBit allows carefully adding custom locations.

Also, maybe shrink your swapfile/SWAP partition if you have one.

Good luck.

P.S.-set your browsers to incognito/private mode and use their internal settings to clear out temporary/private files.

Geek is app to uninstall programs completly without cache config files or anything

thanks omg bro i recovered like 15 gb

There is sweeper.

Don’t forget to clear pacman cache. It can get quite large, maybe keep an eye on the cache from whatever AUR helper you use too.

This is done by maclean, too. But as @CacheMeIfYouCan already said: 20GB is not enough for running a desktop OS and I would second that. My / partition uses a whopping 80GB already and that does not include my user data, the games or the biggies like all the Wine-prefixes and containers.

it is enough, when you keep the system lean an clean and it is also possible with cachy, when the “arch way of installation” is chosen… but comfortable can be something different.

edit:

the tool to manage pacman cache is paccache

paccache -h
paccache v1.13.1

Flexible pacman cache cleaning utility.

Usage: paccache <operation> [options] [target ...]

Operations:
  -d, --dryrun      perform a dry run, only finding candidate packages
  -m, --move <dir>  move candidate packages to "dir"
  -r, --remove      remove candidate packages

Options:
  -a, --arch <arch>       scan for "arch" (default: all architectures)
  -c, --cachedir <dir>    scan "dir" for packages. can be used more than once
                          (default: read from /etc/pacman.conf)
  -f, --force             apply force to mv(1) and rm(1) operations
  -h, --help              display this help message and exit
  -i, --ignore <pkgs>     ignore "pkgs", comma-separated. Alternatively, specify
                          "-" to read package names from stdin, newline-
                          delimited
  -k, --keep <num>        keep "num" of each package in the cache (default: 3)
      --min-atime <time>
      --min-mtime <time>  keep packages with an atime/mtime that is not older
                          than the time given, even if this means keeping more
                          than specified through the '--keep' option. Accepts
                          arguments according to 'info "Date input formats"',
                          e.g. '30 days ago'
      --nocolor           do not colorize output
  -z, --null              use null delimiters for candidate names (only with -v
                          and -vv)
  -q, --quiet             minimize output
  -u, --uninstalled       target uninstalled packages
  -v, --verbose           increase verbosity. specify up to 3 times
  -V, --version           display version information and exit

Agreed.
But for the record that is what maclean uses as part of the various routines.
Specifically paccache -rvk2. :slight_smile:

I have a regular CachyOS maintenance routine. I do this every 4-6 weeks. I use yay, I’ve not used this with paru


UPDATE SYSTEM:
yay

UPDATE CACHYOS MIRRORS:
sudo cachyos-rate-mirrors

UPDATE ARCH MIRRORS:
reflector --protocol https --verbose --latest 25 --sort rate | sudo tee /etc/pacman.d/mirrorlist

AFTER UPDATING MIRRORLISTS, UPDATE SYSTEM:
yay -Syyuu

CLEAN JOURNAL:
sudo journalctl --vacuum-time=4weeks

CLEAN CACHE (All Packages):
paccache -rvk2

CLEAN CACHE (Uninstalled Packages):
paccache -ruk0

REMOVE ORPHANS:
yay -Yc

Your clean schedule also works with paru, excepting for your last cli to remove orphans, this one should be : paru -c

Good to know. Thanks!

There is a application called Filelight that can break it down into a interactive pie chart that can help you track down where space is being used/wasted.

Ah, yes - you can just find that by looking at Properties on a folder…

Yes, but filelight brings it all together at once in a single chart, no clicking around through folders looking for hidden stuff.

I’m sorta with you. I allocate enough storage to reasonably be able to operate (roughly 2 GB), and periodically I prune my own messy trash (because the sytem trash like cache will just refill anyway) using FileLight. I’ve thus never deleted anything unintentionally on an Arch-based distro. I can’t say I’ve never done anythng accidentally on any Linux, because you know, back in the 80s i was learning and we’ve ALL done stuff.