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
    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
      2
      ·
      4 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.