8.12. Zstd-1.4.5

#### Linux From Scratch - Version 10.0-rc1

### Chapter 8. Installing Basic System Software

- Prev

  Xz-5.2.5

- Next

  File-5.39

- Up
- Home

# 8.12. Zstd-1.4.5

Zstandard is a real-time compression algorithm, providing high compression ratios. It offers a very wide range of compression / speed trade-offs, while being backed by a very fast decoder.

Approximate build time: 0.7 SBU
Required disk space: 16 MB

## 8.12.1. Installation of Zstd

Compile the package:

    make

This package does not come with a test suite.

Install the package:

    make prefix=/usr install

Remove the static library and move the shared library to `/lib`. Also, the `.so` file in `/usr/lib` will need to be recreated:

    rm -v /usr/lib/libzstd.a
    mv -v /usr/lib/libzstd.so.* /lib
    ln -sfv ../../lib/$(readlink /usr/lib/libzstd.so) /usr/lib/libzstd.so

## 8.12.2. Contents of Zstd

Installed programs: zstd, zstdcat (link to zstd), zstdgrep, zstdless, zstdmt (link to zstd), and unzstd (link to zstd)
Installed library: libzstd.so

### Short Descriptions

zstd | Compresses or decompresses files using the ZSTD format
zstdgrep | Runs grep on ZSTD compressed files
zstdless | Runs less on ZSTD compressed files
`libzstd` | The library implementing lossless data compression, using the ZSTD algorithm

- Prev

  Xz-5.2.5

- Next

  File-5.39

- Up
- Home