misc/ollama 0.40.7 FreeBSD
Run text/image LLMs and programming APIs locally and in the cloud
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
1e062653b8- License
- MIT
- Categories
- misc
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
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/ollama | 0.40.7 |
| MidnightBSD | ai/ollama | 0.34.3 |
Install
Binary package:
pkg install ollama
From the ports tree:
cd /usr/ports/misc/ollama/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ollama>0:misc/ollama
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.40.3 | - | - | - |
| FreeBSD:14:quarterly | - | 0.34.3_1 | n/a | - | - |
| FreeBSD:15:latest | - | 0.40.6 | n/a | - | - |
| FreeBSD:15:quarterly | - | 0.34.3_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.40.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 5
bash: shells/bash${LOCALBASE}/include/miniaudio/miniaudio.h: audio/miniaudio${LOCALBASE}/include/nlohmann/json_fwd.hpp: devel/nlohmann-json${LOCALBASE}/include/stb/stb_image.h: devel/stbpatchelf: sysutils/patchelf
The full lists below include those, and their dependencies in turn.
Build dependencies 43
- archivers/liblz4
- archivers/zstd
- audio/miniaudio
- devel/binutils
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libepoll-shim
- devel/libffi
- devel/libfmt
- devel/libunistring
- devel/libuv
- devel/nlohmann-json
- devel/pkgconf
- devel/readline
- devel/stb
- dns/libidn2
- graphics/shaderc
- graphics/spirv-headers
- graphics/vulkan-headers
- graphics/vulkan-loader
- graphics/wayland
- lang/gcc14
- lang/go127
- math/gmp
- math/mpc
- math/mpfr
- math/openblas
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- shells/bash
- sysutils/patchelf
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 24
- archivers/liblz4
- archivers/zstd
- devel/binutils
- devel/libepoll-shim
- devel/libffi
- devel/readline
- graphics/vulkan-loader
- graphics/wayland
- lang/gcc14
- math/gmp
- math/mpc
- math/mpfr
- math/openblas
- print/indexinfo
- textproc/expat2
- textproc/libxml2
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrandr
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Required by 1
Configuration
Options name: misc_ollama
| Option | Default | Description |
|---|---|---|
| CPU | on | Build CPU backend shared libraries for various SIMD instruction sets |
| MLX | on | Build MLX backend for image generation (CPU) |
| VULKAN | on | Build Vulkan GPU backend shared library |
- USES
- cmake:indirect go:modules localbase pkgconfig
- Service scripts
ollama
Files
distinfo 8
| File | Size | SHA256 |
|---|---|---|
| go/misc_ollama/ollama-v0.40.7/b11738.tar.gz | 3.8354143e+07 | 79200a2770f86f8490299c598a2e0d4521574b2027802780b4985fc9b5928f9b |
| go/misc_ollama/ollama-v0.40.7/llama-b11738-ui.tar.gz | 3.155951e+06 | 4c42236f03f4b0cbcd2443b61dab7e0e3c75265c690d7cdf53062c8e34dcc2d3 |
| go/misc_ollama/ollama-v0.40.7/v0.31.2.tar.gz | 4.251596e+06 | bdb9b619f80962dd00c0bffb65e59c53f565c2b550f189a1467f8bc6089401ab |
| go/misc_ollama/ollama-v0.40.7/fba4470b89073180056c9ea46c443051375f7399.tar.gz | 174039 | 398d3d4c6458679dfc9061a3ba56101358279790bc038f60d1f534eac420d552 |
| go/misc_ollama/ollama-v0.40.7/json.tar.xz | 110988 | d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d |
| go/misc_ollama/ollama-v0.40.7/v0.40.7.mod | 3860 | 7f45af1de7c28e54f2517a53896071575fa74dbf695e4826c49e4a6fda70d46b |
| go/misc_ollama/ollama-v0.40.7/v0.40.7.zip | 2.8178002e+07 | 3d4f4dca9172af8fd5d41a1633c0159900b35ea36326f20289c7f80ca6ccc381 |
| go/misc_ollama/ollama-v0.40.7/mlc-ai-xgrammar-v0.2.7_GH0.tar.gz | 1.242599e+06 | c336102a5c2d644bfa52ff6881016e002c30bac05143d038f03f841f6d1ddc47 |
Master sites 2
- https://github.com/ggml-org/llama.cpp/archive/refs/tags/:llamasrc
- https://github.com/ggml-org/llama.cpp/releases/download/b11738/:llamasrc
Commit history 29
The latest 5 of 29 in the history this site was built from.