#### Linux From Scratch - Version 12.3-systemd

### Chapter 8. Installing Basic System Software

- Prev

  Xz-5.6.4

- Next

  Zstd-1.5.7

- Up
- Home

# 8.9. Lz4-1.10.0

Lz4 is a lossless compression algorithm, providing compression speed greater than 500 MB/s per core. It features an extremely fast decoder, with speed in multiple GB/s per core. Lz4 can work with Zstandard to allow both algorithms to compress data faster.

Approximate build time: 0.1 SBU
Required disk space: 4.2 MB

## 8.9.1. Installation of Lz4

Compile the package:

    make BUILD_STATIC=no PREFIX=/usr

To test the results, issue:

    make -j1 check

Install the package:

    make BUILD_STATIC=no PREFIX=/usr install

## 8.9.2. Contents of Lz4

Installed programs: lz4, lz4c (link to lz4), lz4cat (link to lz4), and unlz4 (link to lz4)
Installed library: liblz4.so

### Short Descriptions

lz4 | Compresses or decompresses files using the LZ4 format
lz4c | Compresses files using the LZ4 format
lz4cat | Lists the contents of a file compressed using the LZ4 format
unlz4 | Decompresses files using the LZ4 format
`liblz4` | The library implementing lossless data compression, using the LZ4 algorithm

- Prev

  Xz-5.6.4

- Next

  Zstd-1.5.7

- Up
- Home