Port details
llama-cpp Facebook's LLaMA model in C/C++
12181 misc Σ =1 10975Version of this port present on the latest quarterly branch. Maintainer: yuri@FreeBSD.org Port Added: 2024-02-15 11:27:23
Last Update: 2026-11-26 08:47:53
Commit Hash: 27a24ff
People watching this port, also watch: libgd , tin , irssi , wine , tripwire 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. ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # USE_RC_SUBR (Service Scripts)
Dependency lines :
For RUN/BUILD depends:llama-cpp>0:misc/llama-cpp
For LIB depends:libllama-batched-bench-impl.so:misc/llama-cpp libllama-bench-impl.so:misc/llama-cpp libllama-cli-impl.so:misc/llama-cpp libllama-common.so:misc/llama-cpp libllama-completion-impl.so:misc/llama-cpp libllama-fit-params-impl.so:misc/llama-cpp libllama-perplexity-impl.so:misc/llama-cpp libllama-quantize-impl.so:misc/llama-cpp libllama-server-impl.so:misc/llama-cpp libllama.so:misc/llama-cpp libmtmd.so: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 = 1794016738
SHA256 (llama-cpp-12181/dist.tar.gz) = 81d35456d45e17b5650fd8cc64d10f920e033e31cbbbc959eceeb0e47b6a3d4b
SIZE (llama-cpp-12181/dist.tar.gz) = 3136013
Packages (timestamps in pop-ups are UTC): #
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
cmake : devel/cmake-core ninja : devel/ninja
Runtime dependencies: #
python3.12 : lang/python312
Library dependencies: #
libggml-base.so : misc/ggml
This port is required by: # for Run #
Deleted ports which required this port:
* - 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 llama-cpp-12181:
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 cpe 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: #
Commit History - (may be incomplete: for full details, see links to repositories near top of page)
Commit Credits Log message
12181 26 Nov 2026 08:47:53
Torsten Zuehlsdorff (tz)
*/*: Add CPE declaration to 617 ports
Improve CPE coverage in the ports tree to help security scanners match
software with vulnerability reports.
Matched project and download URLs from port metadata against references
in the official NVD CPE dictionary. Reviewed product identities to
distinguish applications from related components and similarly named
projects.
Sponsored by: OTTRIA
Differential Revision: https://reviews.freebsd.org/D61941
12181 07 Nov 2026 05:09:35
Yuri Victorovich (yuri)
misc/llama-cpp: update 11669 → 12181
11669 17 Oct 2026 16:39:36
Yuri Victorovich (yuri)
misc/llama-cpp: fix distinfo
It was messed up.
PR: 299503
Reported by: Ivan Rozhuk <rozhuk.im@gmail.com >
11669 17 Oct 2026 08:18:30
Yuri Victorovich (yuri)
misc/llama-cpp: update 11429 → 11669
11429 15 Oct 2026 09:26:38
Yuri Victorovich (yuri)
misc/llama-cpp: update 10975 → 11429
10975 15 Sep 2026 07:53:40
Yuri Victorovich (yuri)
misc/llama-cpp: update 10900 → 10975
10900 15 Sep 2026 06:20:21
Yuri Victorovich (yuri)
misc/llama-cpp: Only for amd64
10900 10 Sep 2026 20:04:58
Yuri Victorovich (yuri)
misc/llama-cpp: update 9426 → 10900
9426_1 14 Jul 2026 07:00:28
Yuri Victorovich (yuri) Author: Andreas
misc/llama-cpp: switch to current upstream repository ggml-org/llama.cpp
PR: 295813
9426_1 08 Jun 2026 06:28:13
Yuri Victorovich (yuri)
misc/llama-cpp: Fix WebUI fetch
PR: 295906
Reported by: Eric Camachat <eric@camachat.org >
9426 30 May 2026 06:00:39
Yuri Victorovich (yuri)
misc/llama-cpp: update 9331 → 9426
9331 26 May 2026 05:59:26
Yuri Victorovich (yuri)
misc/llama-cpp: update 9222 → 9331
9222 19 May 2026 17:46:15
Yuri Victorovich (yuri)
misc/llama-cpp: update 9159 → 9222
9159_1 17 May 2026 08:52:34
Yuri Victorovich (yuri)
misc/ggml: update 0.11.0 → 0.12.0
9159 15 May 2026 09:18:55
Yuri Victorovich (yuri)
misc/llama-cpp: update 9033 → 9159
9033 05 May 2026 16:58:41
Yuri Victorovich (yuri)
misc/llama-cpp: update 8895 → 9033
8895_1 28 Apr 2026 19:14:22
Yuri Victorovich (yuri)
misc/llama-cpp: Multiple changes
1. Allow for multiple models to be selected at the run-time
2. Remove the leftover VULKAN option. VULKAN is enabled in misc/ggml.
PR: 294795 (allow multiple models at run-time)
Requested by: Ivan Rozhuk <rozhuk.im@gmail.com >
8895 23 Apr 2026 07:59:11
Yuri Victorovich (yuri)
misc/llama-cpp: update 8182 → 8895
8182 28 Feb 2026 16:57:34
Yuri Victorovich (yuri)
misc/llama-cpp: update 8132 → 8182
It now uses the the ggml package as dependency instead of the bundled one.
PR: 293496 (for ggml part)
Reported by: mord0d@firemail.cc
8132 23 Feb 2026 07:25:23
Yuri Victorovich (yuri)
misc/llama-cpp: update 7709 → 8132
Reported by: portscout
7709 12 Jan 2026 09:49:02
Yuri Victorovich (yuri)
misc/llama-cpp: update 7617 → 7709
Reported by: portscout
7617 03 Jan 2026 10:27:29
Yuri Victorovich (yuri)
misc/llama-cpp: update 7134 → 7617
7134 23 Nov 2025 20:09:00
Yuri Victorovich (yuri)
misc/llama-cpp: update 6922 → 7134
Reported by: portscout
6922 02 Nov 2025 07:22:21
Yuri Victorovich (yuri)
misc/llama-cpp: update 6795 → 6922
Reported by: portscout
6795 19 Oct 2025 13:52:42
Yuri Victorovich (yuri)
misc/llama-cpp: update 6374 → 6795
6374 04 Sep 2025 07:32:58
Yuri Victorovich (yuri)
misc/llama-cpp: update 6301 → 6374
6301 28 Aug 2025 09:40:47
Yuri Victorovich (yuri)
misc/llama-cpp: update 6191 → 6301
Reported by: portscout
6191 18 Aug 2025 08:21:58
Yuri Victorovich (yuri)
misc/llama-cpp: update 6040 → 6191
6040 31 Jul 2025 09:00:25
Yuri Victorovich (yuri)
misc/llama-cpp: update 5995 → 6040
5995 26 Jul 2025 08:16:10
Yuri Victorovich (yuri)
misc/llama-cpp: update 5943 → 5995
Reported by: portscout
5943 21 Jul 2025 16:36:45
Yuri Victorovich (yuri)
misc/llama-cpp: update 5897 → 5943
Reported by: portscout
5897 15 Jul 2025 03:49:09
Yuri Victorovich (yuri)
misc/llama-cpp: update 5891 → 5897
5891 14 Jul 2025 09:30:21
Yuri Victorovich (yuri)
misc/llama-cpp: update 5862 → 5891
5862 10 Jul 2025 09:55:05
Yuri Victorovich (yuri)
misc/llama-cpp: update 5780 → 5862
5780 30 Jun 2025 02:08:26
Yuri Victorovich (yuri)
misc/llama-cpp: update 5774 → 5780
5774 29 Jun 2025 22:04:26
Yuri Victorovich (yuri)
misc/llama-cpp: update 5760 → 5774
Reported by: portscout
5760 28 Jun 2025 02:45:16
Yuri Victorovich (yuri)
misc/llama-cpp: update 5747 → 5760
5747 24 Jun 2025 07:04:42
Yuri Victorovich (yuri)
misc/llama-cpp: update 5740 → 5747
Reported by: portscout
5740 23 Jun 2025 10:26:41
Yuri Victorovich (yuri)
misc/llama-cpp: update 5689 → 5740
5689 18 Jun 2025 02:57:48
Yuri Victorovich (yuri)
misc/llama-cpp: update 5371 → 5689
5371 14 May 2025 06:45:26
Yuri Victorovich (yuri)
misc/llama-cpp: update 5287 → 5371
Reported by: portscout
5287 06 May 2025 05:49:12
Yuri Victorovich (yuri)
misc/llama-cpp: update 5280 → 5287
Reported by: portscout
5280 05 May 2025 07:40:43
Yuri Victorovich (yuri)
misc/llama-cpp: update 5195 → 5280
Reported by: portscout
5195 27 Apr 2025 03:38:21
Yuri Victorovich (yuri)
misc/llama-cpp: update 5174 → 5195
5174 24 Apr 2025 07:33:42
Yuri Victorovich (yuri)
misc/llama-cpp: update 5162 → 5174
Reported by: portscout
5162 21 Apr 2025 01:44:17
Yuri Victorovich (yuri)
misc/llama-cpp: update 5145 → 5162
5145 17 Apr 2025 09:54:08
Yuri Victorovich (yuri)
misc/llama-cpp: update 5142 → 5145
Reported by: portscout
5142 16 Apr 2025 09:41:13
Yuri Victorovich (yuri)
misc/llama-cpp: update 5124 → 5142
Reported by: portscout
5124 12 Apr 2025 22:53:19
Yuri Victorovich (yuri)
misc/llama-cpp: update 5106 → 5124
5106_1 11 Apr 2025 18:45:18
Yuri Victorovich (yuri)
misc/llama-cpp: Fix version printout
5106 11 Apr 2025 03:00:49
Yuri Victorovich (yuri)
misc/llama-cpp: update 5097 → 5106
5097_2 11 Apr 2025 01:26:36
Yuri Victorovich (yuri)
misc/llama-cpp: Fix run-time on older CPUs
... by disabling explicit flags that enable them.
5097_1 10 Apr 2025 16:45:58
Yuri Victorovich (yuri)
misc/llama-cpp: Remove native compilation flag
5097 10 Apr 2025 08:04:27
Yuri Victorovich (yuri)
misc/llama-cpp: update 5083 → 5097
5083_1 09 Apr 2025 10:09:08
Yuri Victorovich (yuri)
misc/llama-cpp: Remove unnecessary lines
5083_1 09 Apr 2025 10:07:52
Yuri Victorovich (yuri)
misc/llama-cpp: Small corrections
5083 09 Apr 2025 02:49:28
Yuri Victorovich (yuri)
misc/llama-cpp: update 5054 → 5083
5054_1 09 Apr 2025 02:41:51
Yuri Victorovich (yuri)
misc/llama-cpp: Add the RC service llama-server
... that allows to communicate with AI models in a browser.
Submitted by: Daniel Morante <daniel@morante.net > (initial version of the
service file)
5054 05 Apr 2025 13:54:29
Yuri Victorovich (yuri)
misc/llama-cpp: update 5022 → 5054
Reported by: portscout
5022 02 Apr 2025 09:10:42
Yuri Victorovich (yuri)
misc/llama-cpp: update 5002 → 5022
Reported by: portscout
5002 31 Mar 2025 09:12:28
Yuri Victorovich (yuri)
misc/llama-cpp: update 4967 → 5002
Reported by: portscout
4967 27 Mar 2025 06:52:49
Yuri Victorovich (yuri)
misc/llama-cpp: update 4958 → 4967
Reported by: portscout
4958 26 Mar 2025 07:54:01
Yuri Victorovich (yuri)
misc/llama-cpp: update 4951 → 4958
Reported by: portscout
4951 25 Mar 2025 08:07:16
Yuri Victorovich (yuri)
misc/llama-cpp: update 4942 → 4951
Reported by: portscout
4942 23 Mar 2025 07:56:16
Yuri Victorovich (yuri)
misc/llama-cpp: update 4932 → 4942
Reported by: portscout
4932 21 Mar 2025 08:18:53
Yuri Victorovich (yuri)
misc/llama-cpp: update 4920 → 4932
Reported by: portscout
4920 19 Mar 2025 09:04:03
Yuri Victorovich (yuri)
misc/llama-cpp: update 4908 → 4920
Reported by: portscout
4908 18 Mar 2025 07:28:18
Yuri Victorovich (yuri)
misc/llama-cpp: update 4897 → 4908
Reported by: portscout
4897 17 Mar 2025 08:28:36
Yuri Victorovich (yuri)
misc/llama-cpp: update 4889 → 4897
Reported by: portscout
4889 15 Mar 2025 16:11:59
Yuri Victorovich (yuri)
misc/llama-cpp: update 4837 → 4889
Reported by: portscout
4837 07 Mar 2025 15:57:21
Yuri Victorovich (yuri)
misc/llama-cpp: update 4819 → 4837
Reported by: portscout
4819 04 Mar 2025 07:19:03
Yuri Victorovich (yuri)
misc/llama-cpp: update 4793 → 4819
Reported by: portscout
4793 01 Mar 2025 08:58:19
Yuri Victorovich (yuri)
misc/llama-cpp: update 4784 → 4793
Reported by: portscout
4784 28 Feb 2025 05:57:56
Yuri Victorovich (yuri)
misc/llama-cpp: update 4778 → 4784
Reported by: portscout
4778 26 Feb 2025 03:36:49
Yuri Victorovich (yuri)
misc/llama-cpp: update 4762 → 4778
4762 23 Feb 2025 09:47:51
Yuri Victorovich (yuri)
misc/llama-cpp: update 4735 → 4762
Reported by: portscout
4735 18 Feb 2025 09:01:41
Yuri Victorovich (yuri)
misc/llama-cpp: update 4731 → 4735
Reported by: portscout
4731 17 Feb 2025 06:43:39
Yuri Victorovich (yuri)
misc/llama-cpp: update 4705 → 4731
4705 13 Feb 2025 10:14:15
Yuri Victorovich (yuri)
misc/llama-cpp: update 4689 → 4705
Reported by: portscout
4689 12 Feb 2025 09:18:27
Yuri Victorovich (yuri)
misc/llama-cpp: update 4677 → 4689
Reported by: portscout
4677 10 Feb 2025 09:53:00
Yuri Victorovich (yuri)
misc/llama-cpp: update 4675 → 4677
Reported by: portscout
4675 09 Feb 2025 10:03:11
Yuri Victorovich (yuri)
misc/llama-cpp: update 4667 → 4675
Reported by: portscout
4667 08 Feb 2025 02:15:36
Yuri Victorovich (yuri)
misc/llama-cpp: update 4658 → 4667
4658 07 Feb 2025 11:37:29
Yuri Victorovich (yuri)
misc/llama-cpp: update 4649 → 4658
Reported by: portscout
4649 06 Feb 2025 15:05:43
Yuri Victorovich (yuri)
misc/llama-cpp: update 4576 → 4649
4576 29 Jan 2025 06:43:14
Yuri Victorovich (yuri)
misc/llama-cpp: update 4568 → 4576
Reported by: portscout
4568 27 Jan 2025 19:51:35
Yuri Victorovich (yuri)
misc/llama-cpp: update 4562 → 4568
4562 27 Jan 2025 09:58:06
Yuri Victorovich (yuri)
misc/llama-cpp: update 4557 → 4562
Reported by: portscout
4557 26 Jan 2025 07:07:16
Yuri Victorovich (yuri)
misc/llama-cpp: update 4549 → 4557
4549 25 Jan 2025 05:50:42
Yuri Victorovich (yuri)
misc/llama-cpp: update 4539 → 4549
Reported by: portscout
4539 24 Jan 2025 03:05:38
Yuri Victorovich (yuri)
misc/llama-cpp: update 4529 → 4539
4529 23 Jan 2025 03:53:15
Yuri Victorovich (yuri)
misc/llama-cpp: update 4520 → 4529
4520 21 Jan 2025 09:21:23
Yuri Victorovich (yuri)
misc/llama-cpp: update 4510 → 4520
4510 20 Jan 2025 02:40:40
Yuri Victorovich (yuri)
misc/llama-cpp: update 4508 → 4510
4508 19 Jan 2025 03:53:12
Yuri Victorovich (yuri)
misc/llama-cpp: update 4502 → 4508
4502 18 Jan 2025 06:06:35
Yuri Victorovich (yuri)
misc/llama-cpp: update 4497 → 4502
4497 17 Jan 2025 07:21:39
Yuri Victorovich (yuri)
misc/llama-cpp: update 4488 → 4497
Reported by: portscout
4488 16 Jan 2025 06:35:06
Yuri Victorovich (yuri)
misc/llama-cpp: update 4485 → 4488
Reported by: portscout
4485 15 Jan 2025 16:44:53
Yuri Victorovich (yuri)
misc/llama-cpp: update 4481 → 4485
4481 14 Jan 2025 21:02:22
Yuri Victorovich (yuri)
misc/llama-cpp: update 4475 → 4481