Versionv0.6.0
Revision369
Size18.7 MB
LicenseMIT
Confinementstrict
Basecore26
CategoriesDevelopment, Science

Snap package for llama.cpp - LLM inference in C/C++


llama.cpp packaged as a snap. The main snap ships a CPU build that
works on any x8664 or arm64 machine. Optional snap components add
GPU backends:

sudo snap install llama-cpp # CPU
sudo snap install llama-cpp+hip # add AMD GPU
sudo snap install llama-cpp+cuda # add NVIDIA GPU
sudo snap install llama-cpp+vulkan # add Vulkan GPU (Intel, AMD, etc.)
sudo snap install llama-cpp+opencl # add OpenCL GPU (Adreno, Mali, etc.)
sudo snap install llama-cpp+sycl # add SYCL GPU (Intel)

Select a backend persistently with:

sudo snap set llama-cpp backend={cpu,hip,cuda,vulkan,opencl,sycl,auto} # auto = probe
snap get llama-cpp backend

or override it per invocation with the env var:

LLAMA
CPP_BACKEND=cpu llama-cpp cli ...

The llama.cpp web server can also be run using the llama-cpp.server app. This
is disabled by default but can be enabled by running:

snap start --enable llama-cpp.server

By default, no additional arguments are passed to the server, meaning it will
listen on the default port and address. Arguments can be specified by setting
the server-opts configuration value, e.g.:

snap set llama-cpp server-opts="--host 0.0.0.0"

Afterwards, the server must be restarted for the new arguments to take effect:

snap restart llama-cpp.server

Update History

v0.5.0 (360) → v0.6.0 (369)
12 Oct 2026, 07:16 UTC
v0.4.1 (352) → v0.5.0 (360)
9 Oct 2026, 13:31 UTC
v0.4.1 344 → 352
6 Oct 2026, 07:31 UTC
v0.4.0 (340) → v0.4.1 (344)
1 Oct 2026, 07:46 UTC
v0.4.0 335 → 340
23 Sept 2026, 10:31 UTC
b9987 (321) → v0.4.0 (335)
14 Sept 2026, 14:16 UTC
b9969 (307) → b9987 (321)
9 Sept 2026, 08:45 UTC
b9884 (246) → b9969 (307)
20 Aug 2026, 08:30 UTC
b9859 (216) → b9884 (246)
13 Jul 2026, 16:15 UTC
b9744 (169) → b9859 (216)
6 Jul 2026, 19:00 UTC
b9637 (131) → b9744 (169)
3 Jul 2026, 06:45 UTC
b9587 (84) → b9637 (131)
23 Jun 2026, 09:30 UTC
b9574 (80) → b9587 (84)
16 Jun 2026, 08:15 UTC
b9574 (80)
9 Jun 2026, 19:00 UTC

Published5 Jan 2026, 09:14 UTC

Last updated6 Oct 2026, 17:41 UTC

First seen9 Jun 2026, 19:00 UTC