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.
Port details on branch 2026Q2
ollama Run Llama 2, Mistral, and other large language models
0.19.0_4 misc on this many watch lists=0 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 0.19.0_4Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-05-09 18:45:02
Last Update: 2026-06-03 18:00:48
Commit Hash: 3d69120
License: MIT
WWW:
https://ollama.com
https://github.com/ollama/ollama
Description:
Ollama is a tool that allows you to get up and running with large language models locally. It provides a simple command-line interface to run and manage models, as well as a REST API for programmatic access. Ollama supports a wide range of models available on ollama.com/library, including popular models like Llama 3, Gemma, and Mistral. It also allows you to customize models and create your own. With Ollama, you can: - Run large language models on your own machine - Chat with models in the terminal - Generate text and embeddings - Customize models with your own prompts and data - Expose models through a REST API for use in your applications
HomepageHomepage    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 (17 items)
Collapse this list.
  1. bin/ollama
  2. bin/ollama-limit-gpu-layers
  3. lib/ollama/libggml-base.so
  4. lib/ollama/libggml-base.so.0
  5. lib/ollama/libggml-cpu-alderlake.so
  6. lib/ollama/libggml-cpu-haswell.so
  7. lib/ollama/libggml-cpu-icelake.so
  8. lib/ollama/libggml-cpu-sandybridge.so
  9. lib/ollama/libggml-cpu-skylakex.so
  10. lib/ollama/libggml-cpu-sse42.so
  11. lib/ollama/libggml-cpu-x64.so
  12. lib/ollama/libmlx.so
  13. lib/ollama/libmlxc.so
  14. lib/ollama/vulkan/libggml-vulkan.so
  15. /usr/local/share/licenses/ollama-0.19.0_4/catalog.mk
  16. /usr/local/share/licenses/ollama-0.19.0_4/LICENSE
  17. /usr/local/share/licenses/ollama-0.19.0_4/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • ollama
Dependency lines:
  • ollama>0:misc/ollama
Conflicts:
CONFLICTS_BUILD:
  • ggml
To install the port:
cd /usr/ports/misc/ollama/ && make install clean
To add the package, run one of these commands:
  • pkg install misc/ollama
  • pkg install ollama
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ollama
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1774897820 SHA256 (go/misc_ollama/ollama-v0.19.0/v0.31.1.tar.gz) = 37e2a585a2bb28bcd3432af1c45d5c1ba8d560704ae285c3f9fd22a041e37004 SIZE (go/misc_ollama/ollama-v0.19.0/v0.31.1.tar.gz) = 4163405

Expand this list (8 items)

Collapse this list.

SHA256 (go/misc_ollama/ollama-v0.19.0/v0.6.0.tar.gz) = 6ec2eab86ed3ce661c0d9b834027870651546138b7b4470fa8ef5533498c79aa SIZE (go/misc_ollama/ollama-v0.19.0/v0.6.0.tar.gz) = 170186 SHA256 (go/misc_ollama/ollama-v0.19.0/json.tar.xz) = d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d SIZE (go/misc_ollama/ollama-v0.19.0/json.tar.xz) = 110988 SHA256 (go/misc_ollama/ollama-v0.19.0/v0.19.0.mod) = e660ffa37ad33611a4c1248967204e578f07ada9941e63ffe6a6fe3e95ac5039 SIZE (go/misc_ollama/ollama-v0.19.0/v0.19.0.mod) = 4757 SHA256 (go/misc_ollama/ollama-v0.19.0/v0.19.0.zip) = cb7918b513964b6ee1ac1655fe18985be94e92bc5bf5060a5a23b08a618891ae SIZE (go/misc_ollama/ollama-v0.19.0/v0.19.0.zip) = 26386401

Collapse this list.


Packages (timestamps in pop-ups are UTC):
ollama
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.21.00.21.2---n/an/an/a
FreeBSD:13:quarterly0.19.0_20.19.0_2---n/an/an/a
FreeBSD:14:latest0.24.00.30.0_1------
FreeBSD:14:quarterly0.19.0_30.19.0_4------
FreeBSD:15:latest0.24.00.30.0_1n/a-n/an/a--
FreeBSD:15:quarterly0.19.0_40.19.0_4n/a-n/an/a--
FreeBSD:16:latest0.24.00.30.0_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. miniaudio.h : audio/miniaudio
  3. json_fwd.hpp : devel/nlohmann-json
  4. stb_image.h : devel/stb
  5. patchelf : sysutils/patchelf
  6. fmt-config.cmake : devel/libfmt
  7. glslc : graphics/shaderc
  8. vulkan.h : graphics/vulkan-headers
  9. cmake : devel/cmake-core
  10. go125 : lang/go125
  11. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libopenblas.so : math/openblas
  2. libvulkan.so : graphics/vulkan-loader
Fetch dependencies:
  1. go125 : lang/go125
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ollama-0.19.0_4: ====> Options available for the group BACKENDS CPU=on: Build CPU backend shared libraries for various SIMD instruction sets VULKAN=on: Build Vulkan GPU backend shared library MLX=on: Build MLX backend for image generation (CPU) ===> Use 'make config' to modify these settings
Options name:
misc_ollama
USES:
cmake:indirect go:1.24+,modules localbase pkgconfig zip
pkg-message:
For install:
You installed ollama: the AI model runner. To run ollama, plese open 2 terminals. 1. In the first terminal, please run: $ ollama serve 2. In the second terminal, please run: $ ollama run gemma3 or $ ollama run mistral This will download and run the specified AI model. You will be able to interact with it in plain English. Please see https://ollama.com/library for the list of all supported models. The command "ollama list" lists all models downloaded into your system. When the model fails to load into your GPU, please use the provided ollama-limit-gpu-layers script to create model flavors with different num_gpu parameters. ollama uses many gigabytes of disk space in your home directory, because advanced AI models are often very large. Please symlink ~/.ollama to a large disk if needed. Working examples: (1) Coding with the model gpt-oss:20b: 1. run 'OLLAMA_CONTEXT_LENGTH=65536 ollama serve' or setup and start the service 'ollama' 2. install claude-code and run: ANTHROPIC_BASE_URL=http://localhost:11434 \ ANTHROPIC_AUTH_TOKEN=ollama \ ANTHROPIC_MODEL=gpt-oss:20b \ ANTHROPIC_DEFAULT_SONNET_MODEL=gpt-oss:20b \ ANTHROPIC_DEFAULT_OPUS_MODEL=gpt-oss:20b \ ANTHROPIC_DEFAULT_HAIKU_MODEL=gpt-oss:20b \ claude 3. Ask it to write some program. (2) Image generation with the model x/z-image-turbo: 1. run 'OLLAMA_CONTEXT_LENGTH=65536 ollama serve' or setup and start the service 'ollama' 2. install claude-code and run: ollama run x/z-image-turbo {textual description of the desired image} There are also a lot of text-to-text models that you can chat with.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/yurivict/ollama/@v/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.19.0_4
03 Jun 2026 18:00:48
commit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239ccommit hash: 3d69120c306222a137dfeae569a2da22bc33239c files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump go ports for go-1.25.11 / go-1.26.4
0.19.0_3
09 May 2026 17:31:07
commit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418acommit hash: 0c28c1280feefd3669435bd06ce04988fea2418a files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump ports for Go 1.26.3

Number of commits found: 2