• Ephera
    link
    fedilink
    English
    53 months ago

    Arch’s package manager is pretty terrible.

    Here’s two commands. See if you can guess what they might do:

    pacman -S package_name
    pacman -Syu
    
    Solution

    The first command installs a package.
    The second command updates all packages.

    I believe, there’s some sort of logic to the letters, but man, most users seriously do not care. They just want to install, update and remove packages 99% of the time, so they shouldn’t need to learn that intricate logic for three commands.
    I guess, you could use pkcon to do that instead, but that doesn’t really help new users…

    • Count Regal Inkwell
      link
      fedilink
      3
      edit-2
      3 months ago

      I only learned what pacman -Syu meant, after literal years of typing it in not knowing anything other than “this updates the packages”, because I got curious and googled it.

      To me it was just an adeptus mechanicus incantation.

      EDIT: And I still have no clue how ‘y’ translates to ‘refresh the database’. Like. Sure. S to synchronise from the server to the computer. And u to mark for update all the updatable packages. But – Why the fuck is ‘y’ the refresh?

    • @pivot_root@lemmy.world
      link
      fedilink
      3
      edit-2
      3 months ago

      You think that’s bad? For as much as I love seeing a well-configured Nix system, it’s beginner-unfriendly learning curve is almost as bad as “compile everything yourself” distros.

      As a beginner, do you have a question about Nix? RTFM. You did? Well, wrong Nix. You wanted to learn something about Nix the language, but those docs were about Nix the OS and Nix the package manager.

      You just read a guide for using the nix command and wanted to install a program with nix-env? That’s an outdated guide. You should be using flakes and nix profile. You tried that, but it said the nix command is experimental so you didn’t do it? No, you were supposed to edit /etc/nix/nix.conf to enable them first.

      Don’t get me wrong here though, I like Nix. It just desperately needs an actual beginner-friendly beginner guide for flakes and nix command commands that doesn’t assume everyone is a software developer. 80% of the Nix documentation tutorials aren’t even relevant to regular users, only package maintainers and NixOS users.

    • @gaael@lemm.ee
      link
      fedilink
      English
      33 months ago

      AFAIK, arch never pretended to cater to new linux/cli users, I’ve always read it as a recommandation for advanced (or at least comfortable with reading docs and using CLI) users.
      My first time using arch required me following the arch wiki for install and when I finally got a working system (I’m as bad at following tutorials as I am at following cooking recipes) the pacman commands were not something I struggled with.
      But yeah coming from Debian where I had the gloriously intuitive apt syntax, I get your point.

        • @gaael@lemm.ee
          link
          fedilink
          English
          23 months ago

          I do agree, I’m just not surprised it wasn’t done this way at the start and I’m not bothered enough by it to want a change.