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 2026Q3
ollama Run Llama 2, Mistral, and other large language models
0.31.1_3 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.31.1_3Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-07-10 08:24:41
Last Update: 2026-08-19 17:40:44
Commit Hash: 039eec1
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 - Run generative models that generate images
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 (42 items)
Collapse this list.
  1. bin/ollama
  2. bin/ollama-limit-gpu-layers
  3. lib/ollama/llama-server
  4. lib/ollama/llama-quantize
  5. lib/ollama/libggml-base.so
  6. lib/ollama/libggml-base.so.0
  7. lib/ollama/libggml-base.so.0.15.3
  8. lib/ollama/libggml.so
  9. lib/ollama/libggml.so.0
  10. lib/ollama/libggml.so.0.15.3
  11. lib/ollama/libllama-common.so
  12. lib/ollama/libllama-common.so.0
  13. lib/ollama/libllama-common.so.0.0.9840
  14. lib/ollama/libllama-quantize-impl.so
  15. lib/ollama/libllama-server-impl.so
  16. lib/ollama/libllama.so
  17. lib/ollama/libllama.so.0
  18. lib/ollama/libllama.so.0.0.9840
  19. lib/ollama/libmtmd.so
  20. lib/ollama/libmtmd.so.0
  21. lib/ollama/libmtmd.so.0.0.9840
  22. lib/ollama/libggml-cpu-alderlake.so
  23. lib/ollama/libggml-cpu-cannonlake.so
  24. lib/ollama/libggml-cpu-cascadelake.so
  25. lib/ollama/libggml-cpu-cooperlake.so
  26. lib/ollama/libggml-cpu-haswell.so
  27. lib/ollama/libggml-cpu-icelake.so
  28. lib/ollama/libggml-cpu-ivybridge.so
  29. lib/ollama/libggml-cpu-piledriver.so
  30. lib/ollama/libggml-cpu-sandybridge.so
  31. lib/ollama/libggml-cpu-sapphirerapids.so
  32. lib/ollama/libggml-cpu-skylakex.so
  33. lib/ollama/libggml-cpu-sse42.so
  34. lib/ollama/libggml-cpu-x64.so
  35. lib/ollama/libggml-cpu-zen4.so
  36. lib/ollama/libmlx.so
  37. lib/ollama/libmlxc.so
  38. lib/ollama/vulkan/libggml-vulkan.so
  39. @ldconfig
  40. /usr/local/share/licenses/ollama-0.31.1_3/catalog.mk
  41. /usr/local/share/licenses/ollama-0.31.1_3/LICENSE
  42. /usr/local/share/licenses/ollama-0.31.1_3/MIT
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • ollama
Dependency lines:
  • ollama>0:misc/ollama
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.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1782972753 SHA256 (go/misc_ollama/ollama-v0.31.1/b9840.tar.gz) = 6a786175a32873ec25ef66be623fca5d74636cf5128574e1caf6f1e13f43780d SIZE (go/misc_ollama/ollama-v0.31.1/b9840.tar.gz) = 35092219

Expand this list (12 items)

Collapse this list.

SHA256 (go/misc_ollama/ollama-v0.31.1/llama-b9840-ui.tar.gz) = 9d51a7ec030011c6bb6bff1898ec8d3aecc8c55cbb378370469b4663129a94e1 SIZE (go/misc_ollama/ollama-v0.31.1/llama-b9840-ui.tar.gz) = 2732069 SHA256 (go/misc_ollama/ollama-v0.31.1/v0.31.2.tar.gz) = bdb9b619f80962dd00c0bffb65e59c53f565c2b550f189a1467f8bc6089401ab SIZE (go/misc_ollama/ollama-v0.31.1/v0.31.2.tar.gz) = 4251596 SHA256 (go/misc_ollama/ollama-v0.31.1/fba4470b89073180056c9ea46c443051375f7399.tar.gz) = 398d3d4c6458679dfc9061a3ba56101358279790bc038f60d1f534eac420d552 SIZE (go/misc_ollama/ollama-v0.31.1/fba4470b89073180056c9ea46c443051375f7399.tar.gz) = 174039 SHA256 (go/misc_ollama/ollama-v0.31.1/json.tar.xz) = d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d SIZE (go/misc_ollama/ollama-v0.31.1/json.tar.xz) = 110988 SHA256 (go/misc_ollama/ollama-v0.31.1/v0.31.1.mod) = 8af0b8b8e4961b46dfef05b055207b1ab7e7831368c1704a5a5bfb4626d6895d SIZE (go/misc_ollama/ollama-v0.31.1/v0.31.1.mod) = 4650 SHA256 (go/misc_ollama/ollama-v0.31.1/v0.31.1.zip) = fd0bb9b4efc939d614d9424bfeaa87b63193d866df870fcfb7eeebe34a0b43b1 SIZE (go/misc_ollama/ollama-v0.31.1/v0.31.1.zip) = 29597816

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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. SPIRV-HeadersConfig.cmake : graphics/spirv-headers
  10. cmake : devel/cmake-core
  11. go126 : lang/go126
  12. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libopenblas.so : math/openblas
  2. libvulkan.so : graphics/vulkan-loader
Fetch dependencies:
  1. go126 : lang/go126
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ollama-0.31.1_3: ====> 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.26+,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. start ollama service with 'sudo service ollama start' 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. start ollama service with 'sudo service ollama start' or setup and start the service 'ollama' 2. run: ollama run x/z-image-turbo {textual description of the desired image} Please note that the x/z-image-turbo model requires a minimum of 64GB of RAM to run or a similar amount of VRAM on a Vulkan device. There are also a lot of text-to-text models that you can chat with. You might also want to install the 'gollama' package. gollama allows to run ollama models very easily.
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: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.31.1_3
19 Aug 2026 17:40:44
commit hash: 039eec19c72c7284c0140d19b129a3fc3d964e65commit hash: 039eec19c72c7284c0140d19b129a3fc3d964e65commit hash: 039eec19c72c7284c0140d19b129a3fc3d964e65commit hash: 039eec19c72c7284c0140d19b129a3fc3d964e65 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.14 / 1.26.7
0.31.1_2
14 Aug 2026 00:43:14
commit hash: b983828d8dc280cec63594baa9f1113f67c8d64ccommit hash: b983828d8dc280cec63594baa9f1113f67c8d64ccommit hash: b983828d8dc280cec63594baa9f1113f67c8d64ccommit hash: b983828d8dc280cec63594baa9f1113f67c8d64c 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.13 / 1.26.6
0.31.1_1
19 Jul 2026 06:12:32
commit hash: 77464e636e331fdfd145c248de891c0fbd768ab6commit hash: 77464e636e331fdfd145c248de891c0fbd768ab6commit hash: 77464e636e331fdfd145c248de891c0fbd768ab6commit hash: 77464e636e331fdfd145c248de891c0fbd768ab6 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Only for amd64 for now

(cherry picked from commit d67b93111001df9d39bfc16dc922a32c1eb74eea)
0.31.1_1
10 Jul 2026 08:00:52
commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487commit hash: c328c3d404abdecbaf1429067d07fa84f6de3487 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.12 / 1.26.5

Number of commits found: 4