| Port details on branch 2026Q1 |
- ollama Run Llama 2, Mistral, and other large language models
- 0.13.5_3 misc
=0 0.31.1_1Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2026-01-25 01:42:26
- Last Update: 2026-03-06 03:52:43
- Commit Hash: ef8f442
- 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
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- 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 = 1767567167
SHA256 (go/misc_ollama/ollama-v0.13.5-x1/v0.13.5-x1.mod) = 24e9aaaef0e2169fef54d14b95b528fce46e0f6788ffb71a93bcd3b035f99654
SIZE (go/misc_ollama/ollama-v0.13.5-x1/v0.13.5-x1.mod) = 3454
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:
-
- bash : shells/bash
- miniaudio.h : audio/miniaudio
- json_fwd.hpp : devel/nlohmann-json
- stb_image.h : devel/stb
- glslc : graphics/shaderc
- vulkan.h : graphics/vulkan-headers
- cmake : devel/cmake-core
- go124 : lang/go124
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libvulkan.so : graphics/vulkan-loader
- Fetch dependencies:
-
- go124 : lang/go124
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for ollama-0.13.5_3:
====> Options available for the group BACKENDS
CPU=on: Build CPU backend shared libraries
VULKAN=on: Build Vulkan GPU backend shared library
===> 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_NUM_PARALLEL=1 OLLAMA_DEBUG=1 LLAMA_DEBUG=1 ollama start
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.
- Master Sites:
|