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 photosAll times are UTC
Ukraine
Port details
ollama Run Llama 2, Mistral, and other large language models
0.3.6_1 misc on this many watch lists=3 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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-08-06 10:06:06
Last Update: 2024-08-27 19:44:05
Commit Hash: 387b43b
People watching this port, also watch:: lapce, xxd, openvsp, opencv, ungoogled-chromium
License: MIT
WWW:
https://ollama.com/
Description:
Ollama allows to get up and running with large language models. Ollama supports a list of models available on ollama.com/library.
Homepage    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 (5 items)
Collapse this list.
  1. bin/ollama
  2. bin/ollama-limit-gpu-layers
  3. /usr/local/share/licenses/ollama-0.3.6_1/catalog.mk
  4. /usr/local/share/licenses/ollama-0.3.6_1/LICENSE
  5. /usr/local/share/licenses/ollama-0.3.6_1/MIT
Collapse this list.
Dependency lines:
  • ollama>0:misc/ollama
Conflicts:
CONFLICTS_BUILD:
  • llama-cpp
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 = 1724010094 SHA256 (go/misc_ollama/ollama-v0.3.6/v0.3.6.mod) = 16c078d8f0b29f84598fb04e3979acf86da41eb41bf4ff8363548e490f38b54e SIZE (go/misc_ollama/ollama-v0.3.6/v0.3.6.mod) = 2992

Expand this list (6 items)

Collapse this list.

SHA256 (go/misc_ollama/ollama-v0.3.6/v0.3.6.zip) = 94d2376c9555dd03a76cb093f3213e8155811874db7eab6aff2941d0e75dce07 SIZE (go/misc_ollama/ollama-v0.3.6/v0.3.6.zip) = 1842735 SHA256 (go/misc_ollama/ollama-v0.3.6/ggerganov-llama.cpp-1e6f6554aa11fa10160a5fda689e736c3c34169f_GH0.tar.gz) = b2b3137f734fc9a202fac710986f1de837e0ae69a0b532d4cbadb90748f4cb73 SIZE (go/misc_ollama/ollama-v0.3.6/ggerganov-llama.cpp-1e6f6554aa11fa10160a5fda689e736c3c34169f_GH0.tar.gz) = 19016896 SHA256 (go/misc_ollama/ollama-v0.3.6/blabber-go-freebsd-sysctl-503969f_GH0.tar.gz) = 1f497780d88f6f056b8d8f59b6aa129566c8041d16d1cda89f212accf88f3165 SIZE (go/misc_ollama/ollama-v0.3.6/blabber-go-freebsd-sysctl-503969f_GH0.tar.gz) = 2117

Collapse this list.


Packages (timestamps in pop-ups are UTC):
ollama
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.3.6_1------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-0.3.6_1------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.3.6_1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. cmake : devel/cmake-core
  3. glslc : graphics/shaderc
  4. vulkan-headers>0 : graphics/vulkan-headers
  5. go122 : lang/go122
  6. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libvulkan.so : graphics/vulkan-loader
Fetch dependencies:
  1. go122 : lang/go122
  2. ca_root_nss>0 : security/ca_root_nss
This port is required by:
for Run
  1. misc/alpaca

Configuration Options:
No options to configure
Options name:
misc_ollama
USES:
go:1.22,modules 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 mistral This will download and run the AI model "mistral". 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 gigbytes of disk space in your home directory, because advanced AI models are often very large. Pease symlink ~/.ollama to a large disk if needed.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/ollama/ollama/@v/
Collapse this list.

Number of commits found: 11

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.6_1
27 Aug 2024 19:44:05
commit hash: 387b43b09cacae8bfb30eacf324a104c53664cb1commit hash: 387b43b09cacae8bfb30eacf324a104c53664cb1commit hash: 387b43b09cacae8bfb30eacf324a104c53664cb1commit hash: 387b43b09cacae8bfb30eacf324a104c53664cb1 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Remove unnecessary paragraph from pkg-message
0.3.6_1
27 Aug 2024 17:44:27
commit hash: ba338beba4a6165268a78ea58fde862c2fc03465commit hash: ba338beba4a6165268a78ea58fde862c2fc03465commit hash: ba338beba4a6165268a78ea58fde862c2fc03465commit hash: ba338beba4a6165268a78ea58fde862c2fc03465 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Add environment variables to 'ollama start' to work around memory
allocation issues
0.3.6_1
19 Aug 2024 01:12:09
commit hash: ee1259996679f14ac8b59a10d10614d840d89460commit hash: ee1259996679f14ac8b59a10d10614d840d89460commit hash: ee1259996679f14ac8b59a10d10614d840d89460commit hash: ee1259996679f14ac8b59a10d10614d840d89460 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Improve pkg-message
0.3.6
18 Aug 2024 20:44:06
commit hash: 406cb7fcfffcd69ac3e614f887f2d705127b50e4commit hash: 406cb7fcfffcd69ac3e614f887f2d705127b50e4commit hash: 406cb7fcfffcd69ac3e614f887f2d705127b50e4commit hash: 406cb7fcfffcd69ac3e614f887f2d705127b50e4 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: update 0.3.4 → 0.3.6
0.3.4_4
10 Aug 2024 07:07:35
commit hash: e73ddfead08ab84bf7497bce15a608da068030cbcommit hash: e73ddfead08ab84bf7497bce15a608da068030cbcommit hash: e73ddfead08ab84bf7497bce15a608da068030cbcommit hash: e73ddfead08ab84bf7497bce15a608da068030cb files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: add CONFLICTS_BUILD
0.3.4_4
09 Aug 2024 06:24:09
commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319commit hash: aeb01135150a7f1da57a02c0169cdae9886fb319 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go122 update
0.3.4_3
09 Aug 2024 05:03:35
commit hash: 7826eb339bbede7baa4c75af69360ed9756b6de4commit hash: 7826eb339bbede7baa4c75af69360ed9756b6de4commit hash: 7826eb339bbede7baa4c75af69360ed9756b6de4commit hash: 7826eb339bbede7baa4c75af69360ed9756b6de4 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Fix Vulkan compatibility
0.3.4_2
08 Aug 2024 20:01:10
commit hash: b5bb445feab3021d3e09b963be2afeb9082e5497commit hash: b5bb445feab3021d3e09b963be2afeb9082e5497commit hash: b5bb445feab3021d3e09b963be2afeb9082e5497commit hash: b5bb445feab3021d3e09b963be2afeb9082e5497 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Fix inference; Add ONLY_FOR_ARGHxx lines; Add pkg-message
0.3.4_1
07 Aug 2024 18:33:34
commit hash: 73338a22503460357fd8eac1d648e0f3c92ff73ecommit hash: 73338a22503460357fd8eac1d648e0f3c92ff73ecommit hash: 73338a22503460357fd8eac1d648e0f3c92ff73ecommit hash: 73338a22503460357fd8eac1d648e0f3c92ff73e files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Add llama-cpp as dependency
0.3.4
06 Aug 2024 22:32:55
commit hash: b555acda955e9ef31e8132a82a6b15999cf31256commit hash: b555acda955e9ef31e8132a82a6b15999cf31256commit hash: b555acda955e9ef31e8132a82a6b15999cf31256commit hash: b555acda955e9ef31e8132a82a6b15999cf31256 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: Remove one unnecessary architecture-specific place in scripts
0.3.4
06 Aug 2024 10:04:44
commit hash: 1e343f9e9180ff7df20b884b67649ba7d6edc413commit hash: 1e343f9e9180ff7df20b884b67649ba7d6edc413commit hash: 1e343f9e9180ff7df20b884b67649ba7d6edc413commit hash: 1e343f9e9180ff7df20b884b67649ba7d6edc413 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
misc/ollama: New port: Run Llama 2, Mistral, and other large language models

Number of commits found: 11