this post was submitted on 07 Jul 2023
333 points (96.1% liked)

linuxmemes

21355 readers
1761 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    top 42 comments
    sorted by: hot top controversial new old
    [–] Auli@lemmy.ca 47 points 1 year ago (2 children)

    What's bloat? You need to have a functional computer.

    [–] randomname01@feddit.nl 38 points 1 year ago (1 children)

    Bloat is when your computer has anything more than a half functional terminal

    [–] sagrotan@lemmy.world 14 points 1 year ago (1 children)

    A terminal? That's bloat! Mine is spitting stones in binary, but I think about a more minimal solution these days...

    [–] drew_belloc@programming.dev 8 points 1 year ago (1 children)

    Mine uses atoms instead of stones

    [–] Sebito@lemmy.world 9 points 1 year ago (1 children)

    Atoms? Do you have infinite resources or something? Real minimalism uses electrons!

    [–] Windows2000Srv@lemmy.ca 7 points 1 year ago (1 children)

    Wait till you hear about Quarks. True minimalist knows!

    [–] sagrotan@lemmy.world 1 points 1 year ago

    Username checks out 😉

    [–] herrvogel@lemmy.world 22 points 1 year ago

    Bloat is when programs that you've installed to do something have the gall to use system resources to do the thing you installed them to do.

    [–] yenguardian@lemmy.blahaj.zone 31 points 1 year ago (1 children)

    If you use Gentoo, you really get to feel the sins of the bloat through accumulating compile times.

    [–] PropaGandalf@lemmy.world 9 points 1 year ago (1 children)

    and then out of fear of reinstalling everything from scratch you go through your system and debloat it like its supposed to be

    [–] yenguardian@lemmy.blahaj.zone 6 points 1 year ago

    Truly, Gentoo is the greatest teacher.

    [–] ThatBlokeJosh@lemmy.world 23 points 1 year ago (1 children)

    Just reinstall it every two months and you'll never get over 1000 packages

    [–] Vuraniute@vlemmy.net 6 points 1 year ago (1 children)

    That's extremely inconvenient. Especially if you have important files you need to backup.

    [–] wallmenis@lemmy.one 32 points 1 year ago (1 children)

    Laughs in separate /home partition

    [–] massive_bereavement@kbin.social 10 points 1 year ago

    My .config and .local are a huge mess, and yet I invested so long tweaking it and adapting it to my taste that the idea of starting from scratch is daunting.

    [–] razieltakato 12 points 1 year ago* (last edited 1 year ago)

    That's why I miss Gentoo so much. Nothing handle packages like Portage does!!

    But... The compilation times made me migrate to Fedora...

    [–] Clipper152@lemm.ee 11 points 1 year ago

    Stuff that's helped me so far:

    • sudo paccache -r
    • ncdu ( you may have to install it first )
    • pacman -Qqdt
    • Konmari'ing my computer occasionally.
    [–] snor10@lemm.ee 9 points 1 year ago (1 children)

    I have this problem with Tubleweed. Installed a few DEs to try them out, but it was easyer to install than remove the same swathe of packages. Now I have multiple file browsers and settings programs :(

    [–] shotgun_crab@lemmy.world 6 points 1 year ago (1 children)

    Have you tried using snapper to rollback?

    [–] snor10@lemm.ee 2 points 1 year ago

    I should have, but that was a few weeks ago so now I'm slowly uninstalling unnecessary programs.

    [–] nyawow@lemmy.world 7 points 1 year ago (2 children)

    Just use NixOS. Not minimalist but very organized and feels comfortable

    [–] nicoty@lemmy.ml 1 points 1 year ago

    You can use Nix outside of NixOS. Nix + Void has been the mainstay for my machines for the past couple of years.

    [–] Vuraniute@vlemmy.net 0 points 1 year ago (1 children)

    Right now I have a VM running NixOS, so I can figure things out. What annoys me is that when asked to list all the programs I want to use, I struggle, but installing things on the fly is so much more easier. Nix-env does that, but it doesn't add it to a /etc/nixos/configuration.nix, does it? Also, I know about home-manager, but I've heard it's extrememly difficult.

    [–] Laser@feddit.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

    No, nix-env installs to your user environment, which the nixos-rebuild command barely touches. It doesn't touch the global configuration file. In fact you can even manage user accounts imperatively.

    My approach is the following: try a program using nix run (or nix-shell, depending on the case) and if it does what I want, add it to my configuration and nixos-rebuild test. It will then be available permanently on next update.

    What I also do is keep all nix-related files in a git repository under main user control and have the flake.nix (if using flakes, otherwise configuration.nix) soft linked into /etc/nixos. This also enables rollback on your configuration, not only on the actual system state.

    I agree that each package takes more time, but OTOH, you save a lot of time and effort in the longer run. Also I don't really have that high fluctuation of packages that it actually matters.

    home-manager is a bit in a weird spot in my opinion as in it's not very clear how it should be installed. If it's a NixOS module, your changes will only be applied during rebuild - which only root can trigger. But if you're already triggering those as root, you might as well as the packages globally. I generally install globally and configure the options using home-manager.

    [–] Vuraniute@vlemmy.net 0 points 1 year ago (1 children)

    Sounds great, but I don't like editing a config file every time I want to install an app,.

    [–] Laser@feddit.de 6 points 1 year ago* (last edited 1 year ago) (1 children)

    Alright, if that's too much of a hassle you shouldn't switch. I'm unaware how to do all of that in one step on the command line. All I can say is that the last time I added programs to the array was two weeks ago. So the workload is negligible… on the other hand, on Arch, when installing something new that you then decide not to keep, you need to track the dependencies that you no longer need (pacman -Rs $(pacman -Qqdt)) if I'm not mistaken.

    Also, the amount of work saved depends on what you're installing: let's say you install OpenSSH on your machine. On NixOS, that's editing about six lines in my configuration and then rebuilding. On Arch, that's

    1. installing OpenSSH (pacman -S openssh)
    2. Editing /etc/ssh/sshd_config
    3. Editing your firewall settings (This happens automatically on NixOS)
    4. Enabling and starting the OpenSSH service (NixOS does this for you)
    5. Applying your changed firewall rules (again, automatically on NixOS and guaranteed to be correct)

    So you have double the configuration files to be edited and triple the commands to be ran, while during all of this, nix actually does the thinking for you (e.g. you change a port in your OpenSSH config -> the firewall configuration is updated automatically).

    [–] Vuraniute@vlemmy.net 0 points 1 year ago (1 children)

    Sounds neat. I am really considering NixOS, that's why I'm asking for advice here. It really sounds like a nice and more convenient distro. Sadly, I still haven't figured out how to make my own builders, even after Nix Pills. Thankfully, programs like crate2nix exist.

    [–] Laser@feddit.de 1 points 1 year ago (1 children)

    Do you want to create your own builder or create derivations?

    [–] Vuraniute@vlemmy.net 1 points 1 year ago

    create derivations

    [–] redcalcium@c.calciumlabs.com 7 points 1 year ago* (last edited 1 year ago) (1 children)

    Buy a new, bigger ssd and start again from scratch. Copy your data from the old disk, then retire it into your NAS to add storage there. Repeat every once in a while, and suddenly your nas is big enough to qualify as a homelab.

    [–] randomaside@lemmy.dbzer0.com 2 points 1 year ago

    💯 This is the way

    [–] Pingu@lemmy.sdf.org 6 points 1 year ago

    I am here for pingu.

    [–] nomadjoanne@lemmy.world 4 points 1 year ago

    It's inevitable. Occasional needs come up, so you install stuff and forget you have, or you think, "Well, I won't remove that because I might need it at some point in the future." Reinstalling every couple of years is not a bad thing. Just make sure to save your home directory.

    [–] nicman24@kbin.social 2 points 1 year ago

    pacman -S python-torch cuda

    [–] const_void@lemmy.ml 2 points 1 year ago (1 children)

    What bloat are you talking about here? I've never experienced bloating with Arch.

    [–] Vuraniute@vlemmy.net -1 points 1 year ago (1 children)

    Generally when over time you start installing more and more stuff and you forget to remove it and it feels clunky and bloated.

    [–] ElectroLisa@lemmy.blahaj.zone 2 points 1 year ago

    pacman -Qs, and look through packages you don't need and delete them. Then you'll hit a dependency, and another one, and another.... and you'll find out one app requires the gtk3 package so like 20-30 packages are just for it and can't get deleted

    [–] skomposzczet@vlemmy.net 2 points 1 year ago* (last edited 1 year ago)

    Ah shit here we go again

    reinstalls

    [–] chocolate@vlemmy.net 2 points 1 year ago

    Sooo true for me.....

    [–] d3ceived@lemmy.world 2 points 1 year ago (1 children)

    Are you hopping between DEs?

    [–] Vuraniute@vlemmy.net 0 points 1 year ago

    I installed SwayFX, but no program wanted to open in Wayland despite XWayland being installed, complaining about "no x server", even the wayland-native programs. I gave up and went to XFCE4, then back to SwayFX because Wayland magically started workinng.

    [–] jack667@lemmy.world 1 points 1 year ago

    Try aconfmgr - it's a declarative config tool which can get you back to lean install after a try-out spree.

    load more comments
    view more: next ›