Home > Common Problem > body text

What file is .gz

WBOY
Release: 2022-08-31 11:18:40
Original
26643 people have browsed it

".gz" is a compressed file; the file is an archive file compressed by the standard "GNU zip" compression algorithm. The Gzip format can efficiently compress and decompress single or multiple files and is commonly used in Unix and Compressed files on Linux systems, both Linux and OSX can directly decompress and use this compressed file.

What file is .gz

The operating environment of this tutorial: linux7.3 system, DELL G3 computer.

What is a .gz file?

A GZ file is an archive file compressed by the standard GNU zip (gzip) compression algorithm.

The Gzip format can efficiently compress and decompress single or multiple files and is commonly used to compress files on Unix and Linux systems.

GZ is a compressed file in the UNIX system, the Gnu version of ZIP, and has the same function as WINRAR. The extension of the compressed file.

A compressed file with the extension ·tar.gz is common under Linux and OSX. Both Linux and OSX can directly decompress and use this compressed file.

WinRAR under windows can also be used, which is equivalent to the common RAR and ZIP formats.

The so-called tarball file actually means that all the source code files of the software are first packaged with tar, and then compressed using compression technology. The most common one is gzip. Because the functions of tar and gzip are used, the general file extension name of a tarball file will be written as .tar.gz or abbreviated as .tgz

##Extended knowledge

Jean-loup Gailly and Mark Adler originally developed the Gzip format and released the gzip program (software to decompress gzip) on October 31, 1992. Until now, the gzip format and program are widely used in Unix systems to compress files for easy transmission and storage. gzip is now developed and maintained by the GNU Project.

Usually gzip is only used to compress a single file. Compression of multiple files usually involves merging these files into a .TAR archive, then using gzip for compression, and finally generating .tar.gz or .tgz The file is what is called a "tar compressed package" or "tarball". These files must first be decompressed and then expanded using the TAR program.

Gzip compressed files sometimes also use the .gzip extension (.GZIP files).

How to open GZ files?

In Windows and macOS systems, you can use common compression software to open GZ files, such as: WinZip, WinRAR, 7-Zip, 360 Compression, Bandizip, etc.

The gzip program is installed on most Unix and Linux operating systems. You can directly decompress GZ files with the following command:

gzip -d Filename.gz
Copy after login

Or use the decompression program gunzip corresponding to gzip, the command is as follows:

gunzip -d Filename.gz
Copy after login

For more related knowledge, please visit the

FAQ column!

The above is the detailed content of What file is .gz. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!