Skip to content

xz: Lossless compression utility and library

Overview of package

Package: xz
Description: Lossless compression utility and library
For more information: https://sourceware.org/bzip://tukaani.org/xz/format.html
Categories: DataCompression
License: OpenSource (Public Domain and various Open Source)

General Usage

xz is a lossless compression utility, library, and file format based on the LZMA/LZMA2 compression algorithms.

This module will add the xz and various xz and lz commands to your path.

In case you need to link against this library in your code, the following environmental variables have been defined:

  • $XZ_ROOT has been set to the root of the xz installation
  • $XZ_LIBDIR points to the directory containing the libraries
  • $XZ_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$XZ_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$XZ_LIBDIR -Wl,-rpath,$XZ_LIBDIR

Available versions by cluster

This section lists the available versions of the package xzon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
5.4.1 5.4.1 icelake, x86_64, zen2 Yes
5.2.5 5.2.5 zen, zen2 Yes