Arch protip: Don't forget to clear out your /var/cache/pacman/pkg once in a while

I saved like 6.5G on my Arch install on a 30G partition because I didn't cleaned the cache for months and it ran out of space

So yeah, clear your cache y'all

@Juju does pacman not manage the cache?

modifying things in /var directly is suggested against for a normal working operating system

@wowaname pacman -Sc or pacman -Scc does clean it, but I'm used to rm /var/cache/pacman/pkg/* manually or move the files away.

On that, apps shouldn't care if files are missing from the cache directory as it's mostly files they could fetch somewhere else again.


paccache -r


pacman -Rns $(pacman -Qtdq)

^^ removes orphan packages

much like Data, those commands save the ship every single week. with 88 petabytes in Data's brain, his freestyles flow like fine champagne.


Sign in to participate in the conversation
calc news

This instance is mainly for the graphic calculator community, but is open to programmers, artists and related fields.

This is an instance for those who used to put games and hack on their TI-83+ instead of actually doing their math homework on it back in high school. Those who picked up programming because it's fun. Those who will put their favourite programming languages to creative uses and maybe make up new ones. You are encouraged to show your projects off on this instance and show other users of the fediverse what you're able of.

Mostly everything is allowed, but just keep it friendly, okay? No abuse, use common sense. We're just a bunch of nerds here. All hail the mighty walrus.

If you don't have enough of 500 characters, feel free to visit our sister site at CodeWalrus and join the forums and the Discord server.