Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2024Q4
liblz4 LZ4 compression library, lossless and very fast
1.10.0_2,1 archivers Σ=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: libiconv, pkg, libffi, libxml2, readline
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:
  • For RUN/BUILD depends:
    • liblz4>0:archivers/liblz4
  • For LIB depends:
    • liblz4.so: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
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,1
FreeBSD:14:quarterly1.10.0_2,11.10.0_2,1-1.10.0,11.10.0_2,1
FreeBSD:15:latest1.10.0_2,11.10.0_2,1n/a1.10.0,1n/a
FreeBSD:15:quarterly1.10.0_2,11.10.0_2,1n/a-n/a
FreeBSD:16:latest1.10.0_2,11.10.0_2,1n/a-n/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/mysql2610-client
  4. databases/mysql267-client
  5. databases/mysql80-client
  6. databases/mysql80-server
  7. databases/mysql84-client
Expand this list (21 items / 14 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. databases/mysql97-client
  3. games/NBlood
  4. x11-fonts/ots
  5. Collapse this list.

Deleted ports which required this port:

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

Deleted ports which required this port:

Expand this list of 51 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/mysql96-client*
  19. databases/mysql96-server*
  20. databases/mysqlwsrep56-server*
  21. databases/mysqlwsrep57-server*
  22. databases/pecl-redis*
  23. databases/percona-pam-for-mysql*
  24. databases/percona57-client*
  25. databases/percona57-pam-for-mysql*
  26. databases/percona57-server*
  27. databases/redisdesktopmanager*
  28. databases/rocksdb-lite*
  29. emulators/yuzu-qt5*
  30. java/java-subversion*
  31. multimedia/kodi-addon-vfs.libarchive-devel*
  32. net/ceph*
  33. net/ceph-devel*
  34. net/ceph12*
  35. net/ceph13*
  36. net/ceph14*
  37. net/fbzmq*
  38. net/rsocket-cpp*
  39. net/tshark*
  40. net/tshark-lite*
  41. net/wireshark-lite*
  42. net/wireshark-qt5*
  43. security/openvpn-mbedtls*
  44. security/openvpn25*
  45. security/subversion-kwallet*
  46. security/suricata5*
  47. sysutils/fusefs-squashfuse*
  48. sysutils/squashfs-tools*
  49. sysutils/squashfs-tools-ng*
  50. www/mod_dav_svn*
  51. x11/swww*
  52. Collapse this list of deleted ports.
for Run #
  1. biology/mca-calling
  2. cad/verilator

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
pkg-message: #
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 2024Q4 for this port