BSD Ports

archivers/liblz4 1.10.0,1 DragonFly

LZ4 compression library, lossless and very fast

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, GPLv2
Categories
archivers
Package size
139.4 KiB, 646.3 KiB installed

Description

LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems.

Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for faster speed. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed.

LZ4 is also compatible with dictionary compression, both at API and CLI levels. It can ingest any input file as dictionary, though only the final 64KB are used. This capability can be combined with the Zstandard Dictionary Builder, in order to drastically improve compression performance on small files.

In the other systems

SystemPortVersion
DragonFlyarchivers/liblz41.10.0,1
FreeBSDarchivers/liblz41.10.0_2,1
MidnightBSDarchivers/liblz41.10.0_1,1
HardenedBSDarchivers/liblz41.10.0_2,1
GhostBSDarchivers/liblz41.10.0_2,1
OPNsensearchivers/liblz41.10.0_2,1

Install

Binary package:

pkg install liblz4

From DPorts:

cd /usr/dports/archivers/liblz4 && make install clean

Dependencies