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’?!”)

  • TrackenDaKrackenOP
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    18 hours ago

    Me big dumb-dumb. This has tripped me up before.

    Thank you!

    • hoshikarakitaridia
      link
      fedilink
      English
      arrow-up
      5
      ·
      17 hours ago

      Yeah I don’t get why you need to do that but I’ve made this mistake enough to always double check myself.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        9
        ·
        16 hours 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
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours 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
            ·
            8 hours 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.