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 photosAll times are UTC
Ukraine
Port details on branch 2025Q4
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/mysql91-client
Expand this list (19 items / 12 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mysql91-server
  3. databases/mysql94-client
  4. databases/mysql94-server
  5. databases/mysql96-client
  6. databases/mysql96-server
  7. games/NBlood
  8. x11-fonts/ots
  9. Collapse this list.

Deleted ports which required this port:

Expand this list of 5 deleted ports
  1. databases/mysql81-client*
  2. databases/mysql81-server*
  3. databases/mysql90-client*
  4. databases/mysql90-server*
  5. devel/subversion-static*
  6. 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/mysql91-client
  24. databases/mysql91-server
  25. databases/mysql94-client
  26. databases/mysql94-server
  27. databases/mysql96-client
  28. databases/mysql96-server
  29. databases/pecl-redis
  30. databases/pg_citus
  31. databases/pgbackrest
  32. databases/postgresql14-server
  33. databases/postgresql15-server
  34. databases/postgresql16-server
  35. databases/postgresql17-server
  36. databases/postgresql18-server
  37. databases/rocksdb
  38. databases/rocksdb9
  39. databases/tiledb
  40. databases/tkrzw
  41. deskutils/spice-gtk
  42. devel/android-tools
  43. devel/apache-orc
  44. devel/bitkeeper
  45. devel/cbang
  46. devel/fbthrift
  47. devel/folly
  48. devel/kronosnet
  49. devel/libspice-server
  50. devel/mtbl
  51. devel/p5-subversion
  52. devel/py-subversion
  53. devel/root
  54. devel/ruby-subversion
  55. devel/subversion
  56. devel/subversion-lts
  57. devel/xmake-io
  58. dns/dnscap
  59. dns/dnsjit
  60. editors/imhex
  61. emulators/Ymir
  62. emulators/dolphin-emu
  63. emulators/pcsx2
  64. emulators/yuzu
  65. filesystems/sasquatch
  66. filesystems/squashfs-tools
  67. filesystems/squashfs-tools-ng
  68. filesystems/squashfuse
  69. games/openmw
  70. graphics/appleseed
  71. graphics/aseprite
  72. graphics/gdal
  73. graphics/hugin
  74. graphics/librasterlite2
  75. graphics/libxisf
  76. graphics/pcl-pointclouds
  77. graphics/py-imagecodecs
  78. graphics/simpleviewer
  79. java/java-subversion
  80. lang/racket
  81. lang/racket-minimal
  82. lang/rizin
  83. math/flann
  84. math/labplot
  85. misc/adios2
  86. misc/dartsim
  87. misc/openmvg
  88. multimedia/opentoonz
  89. net/fb303
  90. net/kcat
  91. net/lavinmq
  92. net/librdkafka
  93. net/mvfst
  94. net/ocserv
  95. net/rsync
  96. net/wangle
  97. net/waypipe
  98. net/wireshark
  99. net-im/telegram-desktop
  100. net-mgmt/ipfixcol2
  101. net-mgmt/libfds
  102. net-mgmt/netdata
  103. science/paraview
  104. security/fizz
  105. security/openvpn
  106. security/openvpn-devel
  107. security/subversion-gnome-keyring
  108. security/suricata
  109. shells/schemesh
  110. sysutils/dar
  111. sysutils/slurm-wlm
  112. textproc/ugrep
  113. www/mod_dav_svn
  114. www/proxygen
  115. x11/gromit-mpx
  116. x11/swww
  117. x11/xpra
  118. x11-fonts/ots
  119. x11-toolkits/pangolin
  120. x11-toolkits/vte3
  121. Collapse this list.

Deleted ports which required this port:

Expand this list of 42 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/mysqlwsrep56-server*
  16. databases/mysqlwsrep57-server*
  17. databases/percona-pam-for-mysql*
  18. databases/percona57-client*
  19. databases/percona57-pam-for-mysql*
  20. databases/percona57-server*
  21. databases/redisdesktopmanager*
  22. databases/rocksdb-lite*
  23. emulators/yuzu-qt5*
  24. multimedia/kodi-addon-vfs.libarchive-devel*
  25. net/ceph*
  26. net/ceph-devel*
  27. net/ceph12*
  28. net/ceph13*
  29. net/ceph14*
  30. net/fbzmq*
  31. net/rsocket-cpp*
  32. net/tshark*
  33. net/tshark-lite*
  34. net/wireshark-lite*
  35. net/wireshark-qt5*
  36. security/openvpn-mbedtls*
  37. security/openvpn25*
  38. security/subversion-kwallet*
  39. security/suricata5*
  40. sysutils/fusefs-squashfuse*
  41. sysutils/squashfs-tools*
  42. sysutils/squashfs-tools-ng*
  43. 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 2025Q4 for this port