What is a tar.xz file?
Tape Archive + XZ Utils
- Developed By
- Tukaani Project
- Initial Release
- 2009
- MIME Type
- application/x-xz
A tar.xz file is a Tape Archive (tar) compressed using XZ Utils, which implements the LZMA2 (Lempel-Ziv-Markov chain algorithm 2) compression algorithm. Maintained by the Tukaani Project, this format replaces the older bzip2 standard in many Linux distributions (such as Fedora and Arch Linux) due to its superior compression ratios. It utilizes a dictionary size of up to 4 GB and typically employs CRC64 for data integrity verification, making it ideal for distributing large software source code packages and kernel archives.
How to open a tar.xz file
Most modern Linux distributions support this format natively via GNU tar version 1.22 or later using the command tar -xf file.tar.xz. Windows users can rely on 7-Zip (version 9.04 beta and above) or WinRAR 5.0+, which fully support the LZMA2 stream. macOS users can extract these files using the Archive Utility in newer OS versions or via the command line tool xz.