I recently switched from endeavouros to opensuse TW after joining the linux world 4 months ago (im a linux newbie) and i like the distro so far, but there’s one catch

There’s no sudo apt autoremove equivalent for opensuse and i find it really hard to choose which old .config, cache and other junk files i can delete to save space.

Can someone help me?

  • gomp@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 day ago

    sudo zypper packages --unneded will give you a list of packages that have not been explicitly requested and are not dependencies of explicitly requested packages. As for how to remove them… IDK (I do it manually, once in a blue moon: it’s not like there’s new unneded packages every week).

    It’s been a while since I’ve used debian, but IIRC apt autoremove will leave behind config files (unless you specify --purge).

    In tumbleweed (and I think all rpm-based distros?) config files are removed per default together with packages (well, the config files installed with the package, not others that may have been created later such as the ones in your \~ - basically zypper rm is the same as apt purge).