Windows 11 adds native support for RAR, 7-Zip, Tar and other archive formats thanks to open-source library::undefined

  • Space Sloth
    link
    fedilink
    English
    1018 months ago

    Still gonna use 7zip, the default Windows packing/unpacking interface is atrocious.

    • @[email protected]
      link
      fedilink
      English
      77
      edit-2
      8 months ago

      Honestly though if they just added “extract to {archivename}\” as a right click option it would cover more than 90% of my usage.

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        English
        128 months ago

        Literally the reason why 7 zip is the first thing I install on a windows machine.

        All the linux file managers I use have that context menu built in, so nothing else to install 😅 except that I also sometimes use 7zip file manager via WINE because I like a GUI

      • @[email protected]
        link
        fedilink
        English
        27 months ago

        Have you used Windows recently? This option currently exists as a right-click option in Windows 11.

        • @[email protected]
          link
          fedilink
          English
          27 months ago

          I only see the “Extract All…” option which has been there for years and isn’t what I want. If it just proceeded with the extraction and didn’t pop up a window asking where to put it then we’d be in business, but as currently implemented it’s an additional interaction to do the same thing.

    • @[email protected]
      link
      fedilink
      English
      27 months ago

      Which is an incredible effort, very few software have an interface more atrocious than 7zip.

      The UI is the main reason I actually paid for a WinRAR license.

      • Space Sloth
        link
        fedilink
        English
        27 months ago

        I don’t use the interface, that’s the thing. I just use the contextual menu - which is more than enough to operate it easily. If the windows version of it had the same, then I wouldn’t mind at all.

  • @[email protected]
    link
    fedilink
    English
    778 months ago

    I wonder how long before I can send someone a .7z file without “hurr durr I can’t open this”.

    Like, OpenDocument support exists in Office 2003 and I still encounter those who can’t open a .odt file.

    • @pastermil
      link
      English
      28 months ago

      Serious question: why would one use .7z when .tar.gz and .tar.xz exist?

      • @[email protected]
        link
        fedilink
        English
        22
        edit-2
        8 months ago

        Why would you use any of them when zip exists?

        For an average user they offer no advantage.

        • @[email protected]
          link
          fedilink
          English
          158 months ago

          Zip has a worse compression ratio than 7z, and that’s a disadvantage for the average user (for example, a user with an email attachment size limit that they need to stay under).

          If Windows natively supports one of the better alternatives, there’s no reason to keep using zip. It’s a 30 year old format, and it’s something that regular users will happily just go with whatever’s default.

          • BombOmOm
            link
            fedilink
            English
            57 months ago

            Not only does Zip have a worse compression ratio than 7z, but it even takes longer to make the zip due to the fact the windows zip program is single threaded.

        • @pastermil
          link
          English
          17 months ago

          I know for a fact .tar.xz offers the best compression rate for my use case.

            • @[email protected]
              link
              fedilink
              English
              47 months ago

              It also takes forever to pack.

              I ran benchmarks for syslog compression/decompression, and ended up using plzip, which used lzma, just because it was the fastest decompression while still having only marginally worse ratio.

              But it still takes forever to pack.

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        English
        88 months ago

        For me .zip on Windows is equivalent to .tar.gz on Linux - used when I just want to send a folder in a single file very quickly.

        Also handy when sending an archive to a weaker machine, that might take a while to unpack a 7z compressed at the highest setting.

        .7z is when I want to send a folder encrypted, or heavily compress something to archive (like a database, documents folder, or disk image/iso). It seemingly does the impossible, shaving the size from say 60GB down to 40GB compressed if you use solid mode (which has downsides if there are multiple files in the archive). It’s incredibly flexible, but the defaults are pretty solid for most cases

        • BombOmOm
          link
          fedilink
          English
          27 months ago

          Also handy when sending an archive to a weaker machine, that might take a while to unpack a 7z compressed at the highest setting.

          7z files pack and unpack more quickly than Zip files since the windows zip program is only single threaded.

      • @[email protected]
        link
        fedilink
        English
        68 months ago

        It’s like when .zip was popular I guess?

        Tar.gz is a two step thingy too (maybe under the hood 7z is too) so the extraction process always seems long?

        • Null User Object
          link
          fedilink
          English
          138 months ago

          Pro tip: Tar knows what to do if you try to untar a tar.gz file. It Just Works™.

        • @atzanteol
          link
          English
          2
          edit-2
          8 months ago

          Eh? ‘tar xvf foo.tar.gz’ is technically 2 steps I guess, but that’s pretty well hidden from the user.

      • @[email protected]
        link
        fedilink
        English
        57 months ago

        7z files can be browsed without decompressing the contents, and tar.xyz archives preserve file system attributes like ownership. They have totally different use cases.

        If I want to back up a directory on my drive, I would use tar.xz. But if I want to send some documents to other people, I would use 7z.

      • @[email protected]
        link
        fedilink
        English
        58 months ago

        .7z and .xz are (essentially) the same compression algorithm but it’s applied either to the whole chunk of data, or to individual files. That has its pros and cons.

        More practically though windows users don’t know what the hell tarballs are, and I’ve even seen some bonkers handling like turning a tar.gz into a tar first that you then have to unpack.

        • @pastermil
          link
          English
          47 months ago

          Clearly you’ve never used Linux

          • @[email protected]
            link
            fedilink
            English
            37 months ago

            Clearly you never needed that single file quickly from a 5gb and 12,000 files tgz archive.

        • @[email protected]
          link
          fedilink
          English
          17 months ago

          Wtf are you on… It’s literally just a way to turn a bunch of files into one. You can feed it into a makefile and make a single file installer like nothing. Apps are based on the concept. It’s a key technology for all sorts of applications

          It’s so simple it works for anything, anywhere… It’s like saying virtualization is cancer. It’s often annoying when you have to interact with it directly, but everything we love is built on it

          • @[email protected]
            link
            fedilink
            English
            07 months ago

            Tared compressed files are bad archives. You can’t retrieve a single file without unpacking everything. You can’t add new files or replace contents of existing files without unpacking and repacking everything. They are just very outdated and have poor design. There are no reasons to use them.

            • @[email protected]
              link
              fedilink
              English
              17 months ago

              They’re bad for storing files, but a great way to turn a folder into a file.

              Installers don’t need to be modified or used in part

              • @[email protected]
                link
                fedilink
                English
                07 months ago

                Why do you continue talking about installers? That’s not the reason people invented archives and compression.

                • @[email protected]
                  link
                  fedilink
                  English
                  27 months ago

                  Ok, you have this design, which every installer in the world uses. Some are more compressed, some are signed, some bootstrap a downloader - but at the end of the day, every downloadable installer uses the same basic concept. From Windows installers to dmg to flatpacks to app bundles - same basic idea.

                  A tarball is a bunch of files laid end to end, it’s good for one thing and one thing only - treating a bunch of files as one. It’s great at that… If you want to compress it, it’s not context aware enough to let you decrepit them individually - they’re encrypted as one file

                  It’s a bad way to store compressed archived info, I’ll grant you that, but it’s a great way to share a program or library to reproduce a bunch of files that make no sense to handle individually.

                  For another example, what about the layers of a photo editing program? What about the individual tracks in a music editing program?

                  It’s an incredibly useful pattern that is used in countless ways. It’s simple, easy to implement, and used everywhere to great effect

    • @[email protected]
      link
      fedilink
      English
      -3
      edit-2
      8 months ago

      Office support also exists for the majority of editors so why not just use what people are used to?

      Why not just send a zip?

      There’s no advantage to the receiver for either of these.

      • @[email protected]
        link
        fedilink
        English
        118 months ago

        ODF works on everything. It’s reliable and fully documented. The MS office implementation contradicts its own specification and breaks. A lot.

        The PK-Zip file format was released in the year 1989. The compression is terrible by modern standards.

  • Resol van Lemmy
    link
    fedilink
    English
    667 months ago

    Microsoft annonces an actually useful feature for Windows once in a blue moon basically. This is one of them.

    But I still hate Windows.

  • @[email protected]
    link
    fedilink
    English
    597 months ago

    As someone who has daily driven Linux on all my devices for about 5 years now, I actually forgot that windows didn’t have built in rar, tar and 7zip support. Absolutely bonkers that it took them this long.

    • @[email protected]
      link
      fedilink
      English
      77 months ago

      To be fair, Windows now has better support than Gnome does natively. I wish they would finally give nautilus seamless archive integration…

      • @[email protected]
        link
        fedilink
        English
        17 months ago

        Watch as they break it even more. They broke drag and drop between archives and nautilus a while ago and it remains broken to this day.

  • WuTang
    link
    fedilink
    English
    498 months ago

    Microsoft loves opensource. :P

    While still using proprietary API and proprietary specs for hardware… you know the thing that gets in the way of FOSS operating systems.

    • lieuwestra
      link
      fedilink
      English
      117 months ago

      Microsoft loves Azure, anything else is there to draw people in.

    • @[email protected]
      link
      fedilink
      English
      57 months ago

      Like Google and pretty much every other tech giant.

      Google are extremely keen on supporting open source when it hits their competitors but when it’s about their own business they pretty much avoids ot. They took Linux and created Android… they the practically locked it down by moving more and more essentials into Play Services… which by some of reason isn’t open source.

    • @[email protected]
      link
      fedilink
      English
      -57 months ago

      They host the biggest open source platform in the world for free. So they do plenty for the open source community.

      • @[email protected]
        link
        fedilink
        English
        127 months ago

        Github? You mean the one that used a legally questionable AI that borrows code from projects with licenses that don’t allow you to do so under certain circumstances?

  • @[email protected]
    link
    fedilink
    English
    397 months ago

    For history fans:

    LZ77 and LZ78 are the two lossless data compression algorithms published in papers by [two Israelis named] Abraham Lempel and Jacob Ziv in 1977 and 1978… Besides their academic influence, these algorithms formed the basis of several ubiquitous compression schemes, including GIF and the DEFLATE algorithm used in PNG and ZIP.

    Source: https://en.m.wikipedia.org/wiki/LZ77_and_LZ78

  • Björn Tantau
    link
    fedilink
    English
    368 months ago

    Guess now pirates have to standardise on a new proprietary format.

  • @[email protected]
    link
    fedilink
    English
    338 months ago

    This is great, but I honestly hate the way that windows treats zips like they are just folders on your computer when they are fundamentally different, and I want to do different things with them. Sure, it’s nice to be able to browse the files inside, but I can do that with 7zip.

    • @[email protected]
      link
      fedilink
      English
      438 months ago

      The whole point is most people don’t want a third party app.

      I also think for most users treating them as a normal folder makes complete sense.

      Chances are you aren’t the target audience of the default configuration of windows. It’s aimed at people who have trouble checking their email.

      • TheMurphy
        link
        fedilink
        English
        147 months ago

        It’s aimed at people who have trouble checking their email.

        Opening ZIP natively in folder app really is just user friendly practices. Ofc it’s easier to able to browse its content that way.

        You shouldn’t need 3rd party software for things that simple.

        • @[email protected]
          link
          fedilink
          English
          37 months ago

          The problem being average people don’t tend to understand what a zip file is, I regularly have to explain that you can’t run an executable from a zip

          • KᑌᔕᕼIᗩ
            link
            fedilink
            English
            67 months ago

            You can though, Windows just prompts you to extract it if needed and it’s all fairly user friendly.

      • @[email protected]
        link
        fedilink
        English
        58 months ago

        Chances are you aren’t the target audience of the default configuration of windows.

        Yes. How to change it?

        • @[email protected]
          link
          fedilink
          English
          138 months ago

          Pay Microsoft to the point where they make more money from you than their current target audience.

        • @[email protected]
          link
          fedilink
          English
          27 months ago

          Get the majority of computer users trained to the point of understanding how computers work.

          Microsoft is just catering to their biggest market.

          • @[email protected]
            link
            fedilink
            English
            2
            edit-2
            7 months ago

            So does KDE, XFCE, Cinnamon, Mate, Pantheon… But i can fit them infinitely more to my taste than Windows Explorer-extension (aka Windows Desktop). Well, ok, not Gnome. Not without unsupported extensions. Gnome Foundation is almost as bad in their ignorance of userbase.

      • prole
        link
        English
        -78 months ago

        Maybe they’re like that because they’ve been trained that way by shit software

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      7 months ago

      It’s nice when you can use the file browser of an app and I can open a file from a zip directly but I see your point.

      • @[email protected]
        link
        fedilink
        English
        17 months ago

        Yeah, it’s probably best for most users, but I just personally prefer to treat them separately so I know what I’m dealing with.

  • @[email protected]
    link
    fedilink
    English
    327 months ago

    That’s pretty cool. Please give us our objectively-more-efficient taskbar layouts back and I’ll consider “upgrading” my desktop?

    • @[email protected]
      link
      fedilink
      English
      67 months ago

      When I was offered a free sample, win11 ran slower and controls were walled off from the control panel and access instructions were behind paywalls. Also some of my games wouldn’t play.

      • @[email protected]
        link
        fedilink
        English
        47 months ago

        Me also can’t stand the changed control panel UI. Most of the times I just hit WIN+R and type “control”

      • @[email protected]
        link
        fedilink
        English
        1
        edit-2
        7 months ago

        I have Windows 11 on my laptop but 10 on my desktop. 11 was a mess and is still a mess. Don’t get me wrong, 10, 8, 7, and Vista were that way too for like a year or two. But I feel like a lot of 11’s problems are not going to be solved by bug-fixing.

        • @[email protected]
          link
          fedilink
          English
          47 months ago

          I am using windows 11 since the preview both for work (dev) and for gaming (although I switched to the steam deck as my main gaming platform) and don’t remember any breaking or blocking bugs. On the contrary, using bluetooth headset got a lot better and easier with win11. Which bugs did you spot?

          • @[email protected]
            link
            fedilink
            English
            2
            edit-2
            7 months ago

            Ech, I didn’t document them, and I don’t have a great memory for things that change. The one I remember off the top of my head were the explorer.exe crashes several times a day, and the fact that the UI still behaves freaking weirdly.

          • @[email protected]
            link
            fedilink
            English
            1
            edit-2
            7 months ago

            7 was buggy when new like all the rest. I remember. Your argument is like saying that 10 wasn’t buggy when new because it was 8 second-edition. But it was buggy.

            • @[email protected]
              link
              fedilink
              English
              27 months ago

              8.1 was fairly not buggy it was equivalent to seven. Until Windows 11 Microsoft had alternated core updates and feature updates. So XP is a less buggy version of 2000, 98 had 98se. There are a couple outliers like me and Windows 10, but Windows 10 is kind of like 8.2, and they abandoned the dos based kernels so I me never got a second version

    • KᑌᔕᕼIᗩ
      link
      fedilink
      English
      47 months ago

      I’m curious, how is the centering of it any less efficient than left aligning it?

      • @[email protected]
        link
        fedilink
        English
        157 months ago

        When the start menu was left aligned, you can move you mouse infinitely to the lower left and still click it irrespective of the initial location of the mouse (There is a term for this concept in UX design called infinite space or similar). For similar reasons, the close (x) button is in the upper right corner.

        However with the start menu in the center, you have to accurately place the mouse on the start icon and there cannot be a muscle memory since the movement depends on the initial location.

        • Spaz
          link
          fedilink
          English
          77 months ago

          Yeah most people don’t realize this

          • @[email protected]
            link
            fedilink
            English
            47 months ago

            A lot of the supposed technology inclined people do, when it is literally 3 clicks and a scroll away in the most obvious place to look for it.

  • @[email protected]
    link
    fedilink
    English
    138 months ago

    If they’re incorporating open libraries, Hopefully support for real filesystems will be next

    • @[email protected]
      link
      fedilink
      English
      28 months ago

      Humm, I doubt it as NTFS has ACLs built in to FS directly, so far I don’t know if Linux FS has that feature, I know that ACLs exists in the Linux file world, but I don’t know if they are built in durectly in the FS.

        • @[email protected]
          link
          fedilink
          English
          28 months ago

          That is fair, I confused support with making windows run on them rather than being able to just read and write to them.

          That is my mistake.

      • @[email protected]
        link
        fedilink
        English
        58 months ago

        Pretty much all Linux FS support ACLs and have for an eternity.

        The thing is that nobody uses ACLs because the good ole user/group/world rwx scheme is much less of a hassle to work with in 99.9% of the cases and the remaining 0.01% can still be done.