And that’s all, I’m happy since I was out of space.

  • Eskuero@lemmy.fromshado.ws
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Clean all the cache downloads of Arch Linux Packages

    pacman -Scc

    Remove unused docker networks and images

    docker system prune --all

    Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use “n” instead of “f” for a dry run)

    git clean -xdf

    Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

    git gc --aggressive --prune=now

    Remove old journal logs, keeping last seven days

    journalctl --vacuum-time 7days

    Remove pip cache

    pip cache purge

      • MrPistachios@lemmy.today
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        I’m still pretty new to Linux so I break stuff pretty often, like recently I was trying to get opencl working with my amd gpu and I ended up causing every video I played to stutter constantly.

        And I’ve been trying out new software to control fans or rgb and following guides making me enter commands until I figure out something that works I note it down so when I do a fresh install again I can easily configure it without all the trial and error etc and install only the software I found that I liked

        That plus distro hopping

        • Avid Amoeba@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          That kinda makes sense at this stage. If you spend time understanding what those commands do, you’d understand how the system works, and most importantly how to not fuck it up. Keep in mind there’s a lot of misinformation and bad practices in guides out there. People who bare know more than you feel confident to share snippets without warning. Ten or twenty years ago much fewer people had experience with Linux and most people confident enough to write were technical people that knew what they were talking about. Destructive misinformation was less.

          But yeah when you learn, the need or urge to reinstall disappears. I stopped reinstalling in 2014. Took me 9 years to unfuck my Windows brain and understand enough to not shoot myself in the feet. Main machine hasn’t been reinstalled since then. That’s with replacing multiple main boards, switching AMD > Intel > AMD, changing SSDs, going from single SSD to mdraid, increasing in size over time, etc.