this post was submitted on 16 Feb 2024
13 points (84.2% liked)

Arch Linux

7739 readers
3 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

I feel my system is perpetually bloated, and try to maintain what applications I have installed but always seem to veer off into new applications or python modules and what ever else.

Just wondering how does one keep a lean daily use system?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 8 months ago (1 children)
alias orphans='paru -Qtdq | paru -Rns - && pw-play --volume=0.2 "/usr/share/sounds/freedesktop/stereo/complete.oga" &!'

I occasionally run this after a

pacman -Q | nvim

and looking through for any garbage.

and then a sudo pacdiff to fix up old config files.

but I do that like once a year or so. that's all it really takes unless you're constantly installing stuff.

[โ€“] [email protected] 2 points 8 months ago* (last edited 8 months ago)

i have a similar method of manual review

installed() {
    pacman -Qs "$1" | awk -F/ '/^local/ {print $2}' | cut -d' ' -f 1
}`

basically gets all installed packages and displays only package name, i can then manually look through and remove stuff