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
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q2
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: 2026-05-23 14:51:24
Commit Hash: 33aa21d
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/openzl
Expand this list (174 items / 167 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. archivers/php-horde_lz4
  3. archivers/php-lz4
  4. archivers/py-borgbackup
  5. archivers/py-lz4
  6. archivers/zstd
  7. astro/opencpn
  8. astro/osmium-tool
  9. cad/brlcad
  10. cad/camotics
  11. databases/arrow
  12. databases/clickhouse-cpp
  13. databases/keydb
  14. databases/ladybug
  15. databases/mariadb1011-client
  16. databases/mariadb1011-server
  17. databases/mariadb114-client
  18. databases/mariadb114-server
  19. databases/mariadb118-client
  20. databases/mariadb118-server
  21. databases/mysql-connector-c++
  22. databases/mysql80-client
  23. databases/mysql80-server
  24. databases/mysql84-client
  25. databases/mysql84-server
  26. databases/mysql96-client
  27. databases/mysql96-server
  28. databases/mysql97-client
  29. databases/mysql97-server
  30. databases/pecl-redis
  31. databases/pg_citus
  32. databases/pgagroal
  33. databases/pgbackrest
  34. databases/postgresql14-server
  35. databases/postgresql15-server
  36. databases/postgresql16-server
  37. databases/postgresql17-server
  38. databases/postgresql18-server
  39. databases/rocksdb
  40. databases/rocksdb9
  41. databases/tiledb
  42. databases/tkrzw
  43. deskutils/spice-gtk
  44. devel/android-tools
  45. devel/apache-orc
  46. devel/bitkeeper
  47. devel/cbang
  48. devel/fbthrift
  49. devel/folly
  50. devel/kronosnet
  51. devel/libspice-server
  52. devel/mtbl
  53. devel/p5-subversion
  54. devel/py-subversion
  55. devel/root
  56. devel/ruby-subversion
  57. devel/subversion
  58. devel/subversion-lts
  59. devel/xmake-io
  60. dns/dnscap
  61. dns/dnsjit
  62. editors/imhex
  63. emulators/Ymir
  64. emulators/dolphin-emu
  65. emulators/pcsx2
  66. emulators/yuzu
  67. filesystems/sasquatch
  68. filesystems/squashfs-tools
  69. filesystems/squashfs-tools-ng
  70. filesystems/squashfuse
  71. games/openmw
  72. graphics/appleseed
  73. graphics/aseprite
  74. graphics/gdal
  75. graphics/hugin
  76. graphics/librasterlite2
  77. graphics/libxisf
  78. graphics/pcl-pointclouds
  79. graphics/py-imagecodecs
  80. graphics/simpleviewer
  81. java/java-subversion
  82. lang/racket
  83. lang/racket-minimal
  84. lang/rizin
  85. math/flann
  86. math/labplot
  87. misc/adios2
  88. misc/dartsim
  89. misc/openmvg
  90. multimedia/opentoonz
  91. net/fb303
  92. net/kcat
  93. net/lavinmq
  94. net/librdkafka
  95. net/mvfst
  96. net/ocserv
  97. net/rsync
  98. net/wangle
  99. net/waypipe
  100. net/wireshark
  101. net-im/telegram-desktop
  102. net-mgmt/ipfixcol2
  103. net-mgmt/libfds
  104. net-mgmt/netdata
  105. science/paraview
  106. security/fizz
  107. security/openvpn
  108. security/openvpn-devel
  109. security/subversion-gnome-keyring
  110. security/suricata
  111. shells/schemesh
  112. sysutils/dar
  113. sysutils/osquery
  114. sysutils/slurm-wlm
  115. textproc/ugrep
  116. www/mod_dav_svn
  117. www/proxygen
  118. x11/gromit-mpx
  119. x11/swww
  120. x11/xpra
  121. x11-fonts/ots
  122. x11-toolkits/pangolin
  123. x11-toolkits/vte3
  124. Collapse this list.

Deleted ports which required this port:

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