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.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q4
llama-cpp Facebook's LLaMA model in C/C++
10975 misc on this many watch lists=1 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 10975Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-02-15 11:27:23
Last Update: 2026-09-15 07:53:40
Commit Hash: 22132a2
People watching this port, also watch:: tmux, libjxl, tcpdump, vigenere
License: MIT
WWW:
https://github.com/ggml-org/llama.cpp
Description:
The main goal of llama.cpp is to enable LLM inference with minimal setup and state-of-the-art performance on a wide variety of hardware - locally and in the cloud.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (72 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/llama-cpp-10975/catalog.mk
  3. /usr/local/share/licenses/llama-cpp-10975/LICENSE
  4. /usr/local/share/licenses/llama-cpp-10975/MIT
  5. bin/llama
  6. bin/llama-batched
  7. bin/llama-batched-bench
  8. bin/llama-bench
  9. bin/llama-cli
  10. bin/llama-completion
  11. bin/llama-convert-llama2c-to-ggml
  12. bin/llama-cvector-generator
  13. bin/llama-debug
  14. bin/llama-diffusion-cli
  15. bin/llama-embedding
  16. bin/llama-eval-callback
  17. bin/llama-export-lora
  18. bin/llama-finetune
  19. bin/llama-fit-params
  20. bin/llama-gen-docs
  21. bin/llama-gguf
  22. bin/llama-gguf-hash
  23. bin/llama-gguf-split
  24. bin/llama-idle
  25. bin/llama-imatrix
  26. bin/llama-lookahead
  27. bin/llama-lookup
  28. bin/llama-lookup-create
  29. bin/llama-lookup-merge
  30. bin/llama-lookup-stats
  31. bin/llama-mtmd-cli
  32. bin/llama-parallel
  33. bin/llama-passkey
  34. bin/llama-perplexity
  35. bin/llama-quantize
  36. bin/llama-results
  37. bin/llama-retrieval
  38. bin/llama-server
  39. bin/llama-simple
  40. bin/llama-simple-chat
  41. bin/llama-speculative
  42. bin/llama-speculative-simple
  43. bin/llama-tokenize
  44. bin/llama-tts
  45. include/llama-cpp.h
  46. include/llama.h
  47. include/mtmd-debug.h
  48. include/mtmd-helper.h
  49. include/mtmd.h
  50. lib/cmake/llama/llama-config-version.cmake
  51. lib/cmake/llama/llama-config.cmake
  52. lib/libllama-batched-bench-impl.so
  53. lib/libllama-bench-impl.so
  54. lib/libllama-cli-impl.so
  55. lib/libllama-common.so
  56. lib/libllama-common.so.0
  57. lib/libllama-common.so.0.4.1
  58. lib/libllama-completion-impl.so
  59. lib/libllama-fit-params-impl.so
  60. lib/libllama-perplexity-impl.so
  61. lib/libllama-quantize-impl.so
  62. lib/libllama-server-impl.so
  63. lib/libllama.so
  64. lib/libllama.so.0
  65. lib/libllama.so.0.4.1
  66. lib/libmtmd.so
  67. lib/libmtmd.so.0
  68. lib/libmtmd.so.0.4.1
  69. libdata/pkgconfig/llama.pc
  70. @owner
  71. @group
  72. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • llama-server
Dependency lines:
  • llama-cpp>0:misc/llama-cpp
To install the port:
cd /usr/ports/misc/llama-cpp/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/llama-cpp
  • pkg install llama-cpp
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: llama-cpp
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1789458437 SHA256 (llama-cpp-10975/dist.tar.gz) = 2e5e9968bd9d4a373b4735b32d5f255a61487a5ef3779d80dde0fb3da79da374 SIZE (llama-cpp-10975/dist.tar.gz) = 3084527

Expand this list (4 items)

Collapse this list.

SHA256 (llama-cpp-10975/dist.tar.gz.sha256) = a7ec4311095094c513ca6d62143038d42a60336cbc8680b4baf8e64fef6fafa2 SIZE (llama-cpp-10975/dist.tar.gz.sha256) = 78 SHA256 (llama-cpp-10975/ggml-org-llama.cpp-b10975_GH0.tar.gz) = 6491ac15bed978b5dc89ddc9fdb72e7e785c91f8d53788a5b90cda0ef44241f3 SIZE (llama-cpp-10975/ggml-org-llama.cpp-b10975_GH0.tar.gz) = 37427740

Collapse this list.


Packages (timestamps in pop-ups are UTC):
llama-cpp
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest81828895_1n/an/an/an/an/an/a
FreeBSD:13:quarterly81828182n/an/an/an/an/an/a
FreeBSD:14:latest1097510975------
FreeBSD:14:quarterly-9426_1------
FreeBSD:15:latest1097510975n/a-n/an/a-2241
FreeBSD:15:quarterly-9426_1n/a-n/an/a--
FreeBSD:16:latest1097510975n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
Runtime dependencies:
  1. python3.12 : lang/python312
Library dependencies:
  1. libggml-base.so : misc/ggml
This port is required by:
for Run
  1. devel/tabby

Configuration Options:
===> The following configuration options are available for llama-cpp-10975: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings
Options name:
misc_llama-cpp
USES:
cmake:testing compiler:c++11-lang python:run shebangfix ssl
pkg-message:
For install:
You installed LLaMA-cpp: Facebook's LLaMA model runner. In order to experience LLaMA-cpp please download some AI model in the GGUF format, for example from huggingface.com, run the script below, and open localhost:9011 in your browser to communicate with this AI model. $ llama-server -m $MODEL \ --host 0.0.0.0 \ --port 9011 \ -ngl 15 or you can add the following lines to /etc/rc.conf, start the llama-server service, and navigate to http://localhost:8080: > llama_server_enable=YES > llama_server_model=/path/to/models/llama-2-7b-chat.Q4_K_M.gguf > llama_server_args="--device Vulkan0 -ngl 27" In order to use the multi-model feature do not use llama_server_model. Instead add the argument "--models-preset /path/to/models.ini" Add pre-downloaded models into models.ini, for example: [Qwen3.5-35B-A3B-Uncensored] model = /path/to/Qwen3.5-35B-A3B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf You can switch to the CPU-only operation by choosing the port option VULKAN=OFF in misc/ggml (not in llama-cpp).
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ggml-org/llama.cpp/tar.gz/b10975?dummy=/
Collapse this list.

There are no commits on branch 2026Q4 for this port