notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
Commit processing is paused - The database was just upgraded and I want to review. At present, commit processing is up to 12:23 UTC on 2026-03-31
Port details on branch 2026Q1
liblz4 LZ4 compression library, lossless and very fast
1.10.0_2,1 archivers on this many watch lists=42 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.10.0_2,1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-10-26 00:14:22
Last Update: 2025-11-07 17:11:51
Commit Hash: 3373fa5
People watching this port, also watch:: pkg, indexinfo, readline, libffi, libiconv
License: BSD2CLAUSE GPLv2
WWW:
https://lz4.org/
https://github.com/lz4/lz4
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (26 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/liblz4-1.10.0_2,1/catalog.mk
  3. /usr/local/share/licenses/liblz4-1.10.0_2,1/LICENSE
  4. /usr/local/share/licenses/liblz4-1.10.0_2,1/BSD2CLAUSE
  5. /usr/local/share/licenses/liblz4-1.10.0_2,1/GPLv2
  6. bin/lz4
  7. bin/lz4c
  8. bin/lz4cat
  9. bin/unlz4
  10. include/lz4.h
  11. include/lz4file.h
  12. include/lz4frame.h
  13. include/lz4frame_static.h
  14. include/lz4hc.h
  15. lib/liblz4.a
  16. lib/liblz4.so
  17. lib/liblz4.so.1
  18. lib/liblz4.so.1.10.0
  19. libdata/pkgconfig/liblz4.pc
  20. share/man/man1/lz4.1.gz
  21. share/man/man1/lz4c.1.gz
  22. share/man/man1/lz4cat.1.gz
  23. share/man/man1/unlz4.1.gz
  24. @owner
  25. @group
  26. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • liblz4>0:archivers/liblz4
To install the port:
cd /usr/ports/archivers/liblz4/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/liblz4
  • pkg install liblz4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: liblz4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1721710218 SHA256 (lz4-1.10.0.tar.gz) = 537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b SIZE (lz4-1.10.0.tar.gz) = 387114

Packages (timestamps in pop-ups are UTC):
liblz4
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.10.0_2,11.10.0_2,11.9.3,11.10.0,11.10.0_2,1n/an/an/a
FreeBSD:13:quarterly1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,1n/an/an/a
FreeBSD:14:latest1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,11.9.4,1-1.9.4,1
FreeBSD:14:quarterly1.10.0_2,11.10.0_2,1-1.10.0,11.10.0_2,11.9.4,11.9.4,11.9.4,1
FreeBSD:15:latest1.10.0_2,11.10.0_2,1n/a1.10.0,1n/an/a1.9.4_1,11.9.4_1,1
FreeBSD:15:quarterly1.10.0_2,11.10.0_2,1n/a-n/an/a--
FreeBSD:16:latest1.10.0_2,11.10.0_2,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by:
for Build
  1. archivers/py-lz4
  2. astro/libosmium
  3. databases/mysql80-client
  4. databases/mysql80-server
  5. databases/mysql84-client
  6. databases/mysql84-server
  7. databases/mysql96-client
Expand this list (19 items / 12 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mysql96-server
  3. games/NBlood
  4. x11-fonts/ots
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. databases/mysql81-client*
  2. databases/mysql81-server*
  3. databases/mysql90-client*
  4. databases/mysql90-server*
  5. databases/mysql91-client*
  6. databases/mysql91-server*
  7. databases/mysql94-client*
  8. databases/mysql94-server*
  9. devel/subversion-static*
  10. Collapse this list of deleted ports.
for Libraries
  1. archivers/c-blosc
  2. archivers/c-blosc2
  3. archivers/libarchive
  4. archivers/lrzip
  5. archivers/lz4json
  6. archivers/maxcso
  7. archivers/php-horde_lz4
Expand this list (168 items / 161 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. archivers/php-lz4
  3. archivers/py-borgbackup
  4. archivers/py-lz4
  5. astro/opencpn
  6. astro/osmium-tool
  7. cad/brlcad
  8. cad/camotics
  9. databases/arrow
  10. databases/clickhouse-cpp
  11. databases/keydb
  12. databases/mariadb1011-client
  13. databases/mariadb1011-server
  14. databases/mariadb114-client
  15. databases/mariadb114-server
  16. databases/mariadb118-client
  17. databases/mariadb118-server
  18. databases/mysql-connector-c++
  19. databases/mysql80-client
  20. databases/mysql80-server
  21. databases/mysql84-client
  22. databases/mysql84-server
  23. databases/mysql96-client
  24. databases/mysql96-server
  25. databases/pecl-redis
  26. databases/pg_citus
  27. databases/pgbackrest
  28. databases/postgresql14-server
  29. databases/postgresql15-server
  30. databases/postgresql16-server
  31. databases/postgresql17-server
  32. databases/postgresql18-server
  33. databases/rocksdb
  34. databases/rocksdb9
  35. databases/tiledb
  36. databases/tkrzw
  37. deskutils/spice-gtk
  38. devel/android-tools
  39. devel/apache-orc
  40. devel/bitkeeper
  41. devel/cbang
  42. devel/fbthrift
  43. devel/folly
  44. devel/kronosnet
  45. devel/libspice-server
  46. devel/mtbl
  47. devel/p5-subversion
  48. devel/py-subversion
  49. devel/root
  50. devel/ruby-subversion
  51. devel/subversion
  52. devel/subversion-lts
  53. devel/xmake-io
  54. dns/dnscap
  55. dns/dnsjit
  56. editors/imhex
  57. emulators/Ymir
  58. emulators/dolphin-emu
  59. emulators/pcsx2
  60. emulators/yuzu
  61. filesystems/sasquatch
  62. filesystems/squashfs-tools
  63. filesystems/squashfs-tools-ng
  64. filesystems/squashfuse
  65. games/openmw
  66. graphics/appleseed
  67. graphics/aseprite
  68. graphics/gdal
  69. graphics/hugin
  70. graphics/librasterlite2
  71. graphics/libxisf
  72. graphics/pcl-pointclouds
  73. graphics/py-imagecodecs
  74. graphics/simpleviewer
  75. java/java-subversion
  76. lang/racket
  77. lang/racket-minimal
  78. lang/rizin
  79. math/flann
  80. math/labplot
  81. misc/adios2
  82. misc/dartsim
  83. misc/openmvg
  84. multimedia/opentoonz
  85. net/fb303
  86. net/kcat
  87. net/lavinmq
  88. net/librdkafka
  89. net/mvfst
  90. net/ocserv
  91. net/rsync
  92. net/wangle
  93. net/waypipe
  94. net/wireshark
  95. net-im/telegram-desktop
  96. net-mgmt/ipfixcol2
  97. net-mgmt/libfds
  98. net-mgmt/netdata
  99. science/paraview
  100. security/fizz
  101. security/openvpn
  102. security/openvpn-devel
  103. security/subversion-gnome-keyring
  104. security/suricata
  105. shells/schemesh
  106. sysutils/dar
  107. sysutils/slurm-wlm
  108. textproc/ugrep
  109. www/mod_dav_svn
  110. www/proxygen
  111. x11/gromit-mpx
  112. x11/swww
  113. x11/xpra
  114. x11-fonts/ots
  115. x11-toolkits/pangolin
  116. x11-toolkits/vte3
  117. Collapse this list.

Deleted ports which required this port:

Expand this list of 46 deleted ports
  1. archivers/py-borgbackup11*
  2. archivers/py-borgbackup12*
  3. archivers/py-borgbackup125*
  4. audio/amarok*
  5. databases/mariadb114-connector-c*
  6. databases/mongodb34-rocks*
  7. databases/mysql56-client*
  8. databases/mysql56-server*
  9. databases/mysql57-client*
  10. databases/mysql57-server*
  11. databases/mysql81-client*
  12. databases/mysql81-server*
  13. databases/mysql90-client*
  14. databases/mysql90-server*
  15. databases/mysql91-client*
  16. databases/mysql91-server*
  17. databases/mysql94-client*
  18. databases/mysql94-server*
  19. databases/mysqlwsrep56-server*
  20. databases/mysqlwsrep57-server*
  21. databases/percona-pam-for-mysql*
  22. databases/percona57-client*
  23. databases/percona57-pam-for-mysql*
  24. databases/percona57-server*
  25. databases/redisdesktopmanager*
  26. databases/rocksdb-lite*
  27. emulators/yuzu-qt5*
  28. multimedia/kodi-addon-vfs.libarchive-devel*
  29. net/ceph*
  30. net/ceph-devel*
  31. net/ceph12*
  32. net/ceph13*
  33. net/ceph14*
  34. net/fbzmq*
  35. net/rsocket-cpp*
  36. net/tshark*
  37. net/tshark-lite*
  38. net/wireshark-lite*
  39. net/wireshark-qt5*
  40. security/openvpn-mbedtls*
  41. security/openvpn25*
  42. security/subversion-kwallet*
  43. security/suricata5*
  44. sysutils/fusefs-squashfuse*
  45. sysutils/squashfs-tools*
  46. sysutils/squashfs-tools-ng*
  47. Collapse this list of deleted ports.
for Run
  1. biology/mca-calling

Configuration Options:
===> The following configuration options are available for liblz4-1.10.0_2,1: TEST=off: Run extensive tests ===> Use 'make config' to modify these settings
Options name:
archivers_liblz4
USES:
cpe gmake pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/lz4/lz4/releases/download/v1.10.0/
Collapse this list.

There are no commits on branch 2026Q1 for this port