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'?!")

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 19 hours ago (3 children)

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

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 18 hours ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 11 hours ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 10 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.

  • source
  • parent