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

  • hoshikarakitaridia
    link
    fedilink
    English
    arrow-up
    6
    ·
    15 hours ago

    Big dumb dumb here but just to make sure: did you try ./7zz?

    First I was thinking chmod but it’s tagged executable already. Though maybe you need to apply to all files recursively still…

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

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

      Thank you!

      • hoshikarakitaridia
        link
        fedilink
        English
        arrow-up
        5
        ·
        13 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
          8
          ·
          13 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
            ·
            5 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
              ·
              5 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.