While working on your website, you may encounter certain types of compressed files, such as .tar.gz and .tar.bz2 files. For example, archived log files are stored in the gzip (.gz) format. Depending upon your computer's operating system, you may not be able to read these files. For example, Linux and Mac OS X include support for these types of compressed files, but Microsoft Windows does not.
This article is intended for Microsoft Windows users who need to be able to open and work with Linux-based compressed files.
A2 Hosting servers run on the Linux operating system, and Linux supports several different formats for compressed files. Whereas Microsoft Windows uses .zip and .rar extensions for compressed files, Linux mainly uses .gz and .bz2. Additionally, these compressed files may contain multiple files in a tarball, which uses the .tar extension. For example, it is common to see a filename that ends in .tar.gz, which is a tarball file compressed using the gzip format.
If your computer runs Linux or Mac OS X, you already have support for these types of files. For example, to decompress a .gz file on Mac OS X, simply double-click the file in the Finder window. Similarly, most Linux desktop environments provide support for working with these types of files, or you can use the command line.
If your computer runs Microsoft Windows, however, you must install an application that can process these types of files. WinZip and WinRAR are commercially available applications that can handle these files. This article describes how to use 7-Zip, a free and open source program for Microsoft Windows that can process many types of compressed files.
To get started with 7-Zip, go to http://www.7-zip.org, download the installation program, and run it. After you install 7-Zip, you are ready to decompress and extract files.
To decompress and extract files using 7-Zip: