添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

The Gzip program (rather than gzip as a type of compressed file), is a linux program so is not natively supported on Windows.

There is a 3rd party version of gzip that has been compiled for Windows but this is very old and outdated so I would not advise using this Gzip for Windows

If you have Windows Server 2022 (or Windows 11), you could install the Windows SubSystem for Linux v2 which would give you a real copy linux install and thus a working copy of gzip you could potentially use, but this is a quite clunky and potentially error prone if you are doing anything more than a manual occasional job.

For any sort of long term use with gzip files I would 100% recommend using 7zip as this can support manual tasks using a GUI or automated ones using a CLI.

  • Why are you interested in gzip versus other zip and other archive tools?
  • It’s already a long time that I’ve no longer heard of gzip. With a quick search, I could not find actual installers for Windows. And first matches in web searches show a somewhat dated repository.

    The first letter in product name gzip indicates, that it is a GNU tool. For Windows, such tools may either be installed to run natively or in their variant for cygwin. And those running natively use usually Batch File​ for integration into Windows.

  • When you ask for gzip, so you’re familiar with GNU and GNU environment for Windows?
  • Do you already have installed GNU environment for Windows?
  • What have you already tried for finding an answer to your question?
  • Where do you get stuck in such a search or trials?
  • So here is the project home page for gzip . Its first link directs you there for downloads. It not as dated as the subset in sourceforge repository . The latest version number I find is 1.12. It is in zip-archive format. Windows 10 and its file explorer understand this archive format. There, you’ll find the text files INSTALL, NEWS, README and TODO with further details. Start reading with the readme and then follow those you like. The install file assumes some familiarity with GNU and GNU for Windows. But as you asked explicitly for this command line tool gzip, I may assume such knowledge already present and known.

    To install GZip on a windows machine, first install Virtual Box, install a VM of CentOS and then use GZip.

    Gzip - GNU Project - Free Software Foundation

    As a completely different system of dealing with compressed files, etc, you could easily install a Puppy Linux in Windows using the NTFS of Windows and it has Uextract which opens virtually anything. See: GitHub - noryb009/lick: Install Puppy Linux in a few clicks. for how to that.

    Also https://puppylinux-woof-ce.github.io/ try Fossa

    Uextract UExtract-4.11 - A Universal/Utter/Ultimate/Uhatever Extractor - Puppy Linux Discussion Forum comes up as a GUI and just insert your gzip file

    If you cannot use 7z.exe (the command line version included in 7zip install), cannot use virtualization (whether HyperV, Vbox, WSL, etc. which would defeat the purpose of installing it on windows), have you considered compiling it on Windows from its source. I feel that given its age and function that it should be rather straight forward. Furthermore, I would not equate a gzip for Windows being old as being outdated. The algorithm really hasn’t changed so if you just use it to compress/decompress, then what updates would it need?

    mglasgow:

    The algorithm really hasn’t changed so if you just use it to compress/decompress, then what updates would it need?

    Please read the answer in the gzip package. You’ll find it in file TODO. So to which new algorithm do you refer? The file names 3 candidates. It refers to a list of expired patents listed. And also the release notes report which update was already included in the current release. Buffer size was increased in order to achieve better compression for large files.