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

  • oni ᓚᘏᗢ
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 hours ago

    When you do double click on this “7zz”, do you expect a GUI?

    • TrackenDaKrackenOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      4 hours ago

      Thank you for replying. It doesn’t run in terminal, either.

      • oni ᓚᘏᗢ
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago
        $ chmod +x 7zz # this line makes the file an executable
        $ ./7zz # this line executes the binary
        

        If you want to “install it”, you need to place the binaries to a proper place (like ~/.local/bin) and then add that path to your $PATH.

        Example: export PATH=$PATH:$HOME/.local/bin, then logout and login next.

          • moonpiedumplings@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 hours ago

            To be clear, this is not a universally good idea. This version of the application, that you manually downloaded, will not receive any updates, including security updates. It may be secure now, but it will quickly become insecure unless you constantly manually update it.

            As other commenters have mentioned, usually fixes get “backported”, or security critical fixes are selectively taken and applied to the older version of the package. The idea is to keep the system behavior stable so that users don’t have to deal with things changing or new bugs, while users also receive automatic security updates.

      • hoshikarakitaridia
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 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
          4
          arrow-down
          1
          ·
          edit-2
          4 hours ago

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

          Thank you!

          • hoshikarakitaridia
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 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
              2
              ·
              2 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.