Please,

I can’t find any clear directions for installing the version I downloaded from the 7Zip website (7z2606-linux-x64.tar.xz). The file inside is 7zz, but doesn’t run.

Installing through apt install gives version 23.

Thank you. (“Did you even say ‘Thank you’?!”)

    • frongt@lemmy.zip
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      Because the current directory is not in your PATH.

      That’s generally a good thing, because you don’t want to accidentally execute something just because it’s in the same directory and has the same name as the executable you do want.

      • hoshikarakitaridia@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        In my head I would expect that if you just use the name, it should search in cwd and then next priority would be path. Because the cwd is basically the context you’re working in. That’s why this trips me up every time, this design doesn’t mesh well with my mental model.

        But maybe that’s a me thing.

        • frongt@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Well, if you want it to do that, you can just add . to your PATH.

          I would be very certain that you are not going to cause any collisions, though. Remember that shell scripts will inherit your PATH and may call things you aren’t thinking about.