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 2026Q1
libarchive Library to create and read several streaming archive formats
3.8.5,1 archivers on this many watch lists=33 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.8.4,1Version of this port present on the latest quarterly branch.
Maintainer: glewis@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2004-03-24 17:34:03
Last Update: 2026-01-07 23:27:31
Commit Hash: 4f76207
People watching this port, also watch:: freetype2, expat, libxml2, libiconv, curl
License: BSD2CLAUSE
WWW:
https://libarchive.org/
Description:
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and the POSIX cpio format.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (62 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libarchive-3.8.5,1/catalog.mk
  3. /usr/local/share/licenses/libarchive-3.8.5,1/LICENSE
  4. /usr/local/share/licenses/libarchive-3.8.5,1/BSD2CLAUSE
  5. bin/bsdcat
  6. bin/bsdcpio
  7. bin/bsdtar
  8. bin/bsdunzip
  9. include/archive.h
  10. include/archive_entry.h
  11. lib/libarchive.so
  12. lib/libarchive.so.13
  13. lib/libarchive.so.13.8.5
  14. libdata/pkgconfig/libarchive.pc
  15. share/man/man1/bsdcat.1.gz
  16. share/man/man1/bsdcpio.1.gz
  17. share/man/man1/bsdtar.1.gz
  18. share/man/man1/bsdunzip.1.gz
  19. share/man/man3/archive_entry.3.gz
  20. share/man/man3/archive_entry_acl.3.gz
  21. share/man/man3/archive_entry_linkify.3.gz
  22. share/man/man3/archive_entry_misc.3.gz
  23. share/man/man3/archive_entry_paths.3.gz
  24. share/man/man3/archive_entry_perms.3.gz
  25. share/man/man3/archive_entry_stat.3.gz
  26. share/man/man3/archive_entry_time.3.gz
  27. share/man/man3/archive_read.3.gz
  28. share/man/man3/archive_read_add_passphrase.3.gz
  29. share/man/man3/archive_read_data.3.gz
  30. share/man/man3/archive_read_disk.3.gz
  31. share/man/man3/archive_read_extract.3.gz
  32. share/man/man3/archive_read_filter.3.gz
  33. share/man/man3/archive_read_format.3.gz
  34. share/man/man3/archive_read_free.3.gz
  35. share/man/man3/archive_read_header.3.gz
  36. share/man/man3/archive_read_new.3.gz
  37. share/man/man3/archive_read_open.3.gz
  38. share/man/man3/archive_read_set_options.3.gz
  39. share/man/man3/archive_util.3.gz
  40. share/man/man3/archive_write.3.gz
  41. share/man/man3/archive_write_blocksize.3.gz
  42. share/man/man3/archive_write_data.3.gz
  43. share/man/man3/archive_write_disk.3.gz
  44. share/man/man3/archive_write_filter.3.gz
  45. share/man/man3/archive_write_finish_entry.3.gz
  46. share/man/man3/archive_write_format.3.gz
  47. share/man/man3/archive_write_free.3.gz
  48. share/man/man3/archive_write_header.3.gz
  49. share/man/man3/archive_write_new.3.gz
  50. share/man/man3/archive_write_open.3.gz
  51. share/man/man3/archive_write_set_options.3.gz
  52. share/man/man3/archive_write_set_passphrase.3.gz
  53. share/man/man3/libarchive.3.gz
  54. share/man/man3/libarchive_changes.3.gz
  55. share/man/man3/libarchive_internals.3.gz
  56. share/man/man5/cpio.5.gz
  57. share/man/man5/libarchive-formats.5.gz
  58. share/man/man5/mtree.5.gz
  59. share/man/man5/tar.5.gz
  60. @owner
  61. @group
  62. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libarchive>0:archivers/libarchive
To install the port:
cd /usr/ports/archivers/libarchive/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/libarchive
  • pkg install libarchive
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libarchive
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1767705954 SHA256 (libarchive-3.8.5.tar.xz) = d68068e74beee3a0ec0dd04aee9037d5757fcc651591a6dcf1b6d542fb15a703 SIZE (libarchive-3.8.5.tar.xz) = 6009124

Packages (timestamps in pop-ups are UTC):
libarchive
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.8.5,13.8.5,13.4.3_1,13.8.1,13.8.5,1n/an/an/a
FreeBSD:13:quarterly3.8.5,13.8.5,13.6.2,13.8.1,13.8.5,1n/an/an/a
FreeBSD:14:latest3.8.5,13.8.5,13.6.2,13.8.1,13.8.5,13.6.2,1-3.6.2,1
FreeBSD:14:quarterly3.8.5,13.8.5,1-3.8.1,13.8.5,13.7.2,13.7.2,13.7.2,1
FreeBSD:15:latest3.8.5,13.8.5,1n/a3.8.1,1n/an/a3.7.2_1,13.7.2_1,1
FreeBSD:15:quarterly3.8.5,13.8.5,1n/a-n/an/a--
FreeBSD:16:latest3.8.5,13.8.5,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libexpat.so : textproc/expat2
  2. liblz4.so : archivers/liblz4
  3. libzstd.so : archivers/zstd
This port is required by:
for Build
  1. archivers/py-extractcode
  2. graphics/vips
  3. net/samba416
  4. net/samba419
  5. net/samba420
  6. net/samba422
  7. net/samba423
Expand this list (20 items / 13 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. science/v_sim
  3. Collapse this list.

Deleted ports which required this port:

Expand this list of 12 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba42*
  7. net/samba43*
  8. net/samba44*
  9. net/samba45*
  10. net/samba46*
  11. net/samba47*
  12. net/samba48*
  13. Collapse this list of deleted ports.
for Libraries
  1. archivers/ark
  2. archivers/file-roller
  3. archivers/gnome-autoar
  4. archivers/pixz
  5. archivers/rpm4
  6. archivers/rubygem-libarchive
  7. archivers/unmakeself
Expand this list (105 items / 98 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. astro/opencpn
  3. audio/ardour
  4. audio/cardinal
  5. audio/fooyin
  6. audio/guitarix-lv2
  7. audio/hydrogen
  8. cad/horizon-eda
  9. deskutils/pinot
  10. devel/appstream-glib
  11. devel/cmake-gui
  12. devel/hs-ghcup
  13. devel/libtifiles2
  14. devel/qtcreator
  15. devel/zeal
  16. emulators/cemu
  17. emulators/fceux
  18. emulators/nemu
  19. emulators/nestopia
  20. emulators/qmc2
  21. filesystems/archivemount
  22. filesystems/gvfs
  23. filesystems/hfsfuse
  24. games/lordsawar
  25. games/meandmyshadow
  26. games/melonds
  27. graphics/akira
  28. graphics/atril
  29. graphics/atril-lite
  30. graphics/evince
  31. graphics/filmulator
  32. graphics/geeqie
  33. graphics/gimp3-app
  34. graphics/glaxnimate
  35. graphics/libgxps
  36. graphics/libresprite
  37. graphics/minder
  38. graphics/papers
  39. graphics/photoqt
  40. graphics/pqiv
  41. graphics/tesseract
  42. graphics/vips
  43. graphics/xreader
  44. irc/epic5
  45. lang/swipl
  46. mail/claws-mail-archive
  47. mail/evolution
  48. misc/far2l
  49. multimedia/ccextractor
  50. multimedia/lms
  51. multimedia/mlt7-glaxnimate
  52. multimedia/mpv
  53. multimedia/qmmp-qt5
  54. multimedia/qmmp-qt6
  55. multimedia/totem-pl-parser
  56. multimedia/vlc
  57. net/grilo-plugins
  58. net-mgmt/seafile-client
  59. net-mgmt/seafile-server
  60. ports-mgmt/appstream-generator
  61. science/avogadro2
  62. science/avogadrolibs
  63. sysutils/ftwin
  64. sysutils/fwup
  65. sysutils/fwupd
  66. sysutils/nix
  67. sysutils/osinfo-db-tools
  68. sysutils/pacman
  69. sysutils/rdup
  70. textproc/libgepub
  71. www/epiphany
  72. www/midori
  73. x11/albert
  74. x11/gnome-pie
  75. x11-fonts/font-manager
  76. Collapse this list.

Deleted ports which required this port:

Expand this list of 24 deleted ports
  1. archivers/ark-devel*
  2. archivers/ark-kde4*
  3. audio/ardour5*
  4. audio/ardour6*
  5. audio/nuvolaplayer*
  6. databases/glom*
  7. deskutils/gnome-epub-thumbnailer*
  8. deskutils/osmo*
  9. devel/gvfs*
  10. emulators/pcsxr*
  11. graphics/evince-lite*
  12. lang/swi-pl*
  13. lang/yap-devel*
  14. mail/claws-mail-archiver*
  15. multimedia/kodi-addon-vfs.libarchive-devel*
  16. multimedia/mpv034*
  17. multimedia/qmmp*
  18. net-mgmt/seafile*
  19. polish/kadu*
  20. sysutils/apache-mesos*
  21. sysutils/archivemount*
  22. sysutils/osquery*
  23. textproc/libextractor*
  24. www/mod_musicindex*
  25. Collapse this list of deleted ports.
for Run
  1. archivers/py-extractcode
  2. net/samba416
  3. net/samba419
  4. net/samba420
  5. net/samba422
  6. net/samba423
  7. science/v_sim

Deleted ports which required this port:

Expand this list of 13 deleted ports
  1. net/samba4-devel*
  2. net/samba410*
  3. net/samba411*
  4. net/samba412*
  5. net/samba413*
  6. net/samba42*
  7. net/samba43*
  8. net/samba44*
  9. net/samba45*
  10. net/samba46*
  11. net/samba47*
  12. net/samba48*
  13. textproc/scancode-toolkit*
  14. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for libarchive-3.8.5,1: LZ4=on: LZ4 compression support LZO=off: LZO compression support ZSTD=on: Zstandard compression support ====> Crypto and hashing support: you can only select none or one of them OPENSSL=on: SSL/TLS support via OpenSSL MBEDTLS=off: SSL/TLS support via mbed TLS NETTLE=off: Crypto support via Nettle ===> Use 'make config' to modify these settings
Options name:
archivers_libarchive
USES:
cpe iconv libtool localbase:ldflags pathfix pkgconfig tar:xz ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://github.com/libarchive/libarchive/releases/download/v3.8.5/
  2. https://libarchive.org/downloads/
Collapse this list.

There are no commits on branch 2026Q1 for this port