Fubar Folio Protect yourself and those you love with knowledge

Install Ollama

Install Ollama on a typical Windows or Mac laptop and pull the models used by the AI-text pack.

How to install Ollama on a Windows or Mac laptop

This guide is for anyone who wants to search and ask questions of the Fubar Folio manuals on their own computer, with no cloud API key. Ollama is the local engine that the pack’s search and “ask the manuals” scripts talk to.

A Fubar Folio product from White Hat IT Services, by Trevor Kimball. Questions: hello@fubarfolio.com

You do not need Ollama for keyword-only search. That path is covered in 03-ollama-with-manuals.html.


What Ollama is, in one sentence

Ollama is a free local app that runs language and embedding models on your laptop and serves them at http://localhost:11434 (written http://127.0.0.1:11434 in the pack’s scripts).

flowchart TD
  A[Install Ollama] --> B[Ollama runs in the background]
  B --> C["ollama pull nomic-embed-text"]
  C --> D["ollama pull qwen2.5:7b  (for ask-the-manuals)"]
  D --> E[Ready for the Fubar Folio Ollama scripts]

1. Check that this laptop is a reasonable fit

Official requirements (from Ollama’s docs)

Windows (docs.ollama.com/windows):

  • Windows 10 22H2 or newer, Home or Pro.
  • A GPU is optional. For NVIDIA cards, Ollama’s docs list driver 551.61 or newer. AMD Radeon acceleration is supported with the drivers described on that page.
  • The installer does not need Administrator rights and installs to your home directory by default. Leave at least 4 GB free for Ollama itself, plus more for models (Ollama says models can take tens to hundreds of GB; the two models this pack uses need far less).

macOS (docs.ollama.com/macos):

  • macOS Sonoma (14) or newer.
  • Apple M-series: CPU and GPU (Metal) support.
  • Intel (x86) Macs: CPU only, so chat is slower.

Ollama does not publish a single official “you must have N GB of RAM” figure. How much RAM you need depends on the model and the context window.

Practical RAM guidance for this pack

These figures are practical estimates based on the official model download sizes on ollama.com. They are not a minimum RAM table from Ollama. Leave headroom above the file size so the model can actually run.

What you want to do Official model download Comfortable laptop target
Keyword search only (manual_search.py --mode keyword) none Any Python 3.9+ computer; no Ollama
Hybrid / vector search nomic-embed-text, 274 MB 8 GB RAM is usually enough for this small embedding model
Ask-the-manuals (default chat model qwen2.5:7b) 4.7 GB (Q4_K_M build on the official library page) 16 GB RAM (or 16 GB unified memory on Apple Silicon) is a comfortable target. 8 GB may load the model, but it is often tight or slow, especially with long answers.
A larger local chat model (14B-class and up) several GB more 32 GB is a safer starting point

Apple Silicon is the better Mac option because the CPU and GPU share the same memory. An Intel Mac runs the same commands, but more slowly and only on the CPU.

On Windows, a dedicated GPU speeds things up but is not required. Without a usable GPU, Ollama runs on the CPU.

Disk, after Ollama itself: plan on about 5 GB for nomic-embed-text plus qwen2.5:7b, and about 3.3 GB more for the unpacked AI-text pack (see 03-ollama-with-manuals.html).


2. Install on Windows

  1. Download the Windows installer from ollama.com/download.
  2. Run OllamaSetup.exe. It installs into your user account by default. To install somewhere else, start the installer like this:

powershell OllamaSetup.exe /DIR="d:\some\location"

  1. When setup finishes, Ollama should be running in the background. Open Command Prompt or PowerShell and check:

powershell ollama --version

The API is served at http://localhost:11434.


3. Install on a Mac

  1. Download the macOS disk image from ollama.com/download.
  2. Open the .dmg and drag Ollama into Applications (Ollama’s recommended method).
  3. Launch Ollama from Applications. On first run it may offer to add the ollama command to your PATH (often /usr/local/bin). Allow it. Otherwise you have to call the CLI by its full path inside the app bundle.
  4. If the app asks to move itself to Applications, accept unless you deliberately installed it somewhere else.
  5. In Terminal:

bash ollama --version

[sketch — not a screenshot]

+--------------------------------------+
|  Ollama.dmg                          |
|  +--------+     +----------------+   |
|  | Ollama | --> | Applications   |   |
|  +--------+     +----------------+   |
+--------------------------------------+
Then open Terminal and run: ollama --version

4. Pull the models this pack uses

With Ollama running, download the embedding model the pack’s index was built with:

ollama pull nomic-embed-text

For “ask the manuals” (the default in ask_manuals.py and on the product page), also pull:

ollama pull qwen2.5:7b

Confirm they are present:

ollama list
[sketch — not a screenshot]

$ ollama list
NAME                ID           SIZE
nomic-embed-text    ..........   274 MB
qwen2.5:7b          ..........   4.7 GB

(The exact ID and size values can vary with the Ollama version.)

If your laptop cannot comfortably run a 7B chat model, you can still use hybrid search with only nomic-embed-text. For ask-the-manuals, you can point ask_manuals.py --model or the ASK_MODEL environment variable at a smaller local model you have already pulled. Stay on local models. Ollama also offers cloud models that need an Ollama account. This pack does not need them, and they would send your questions off your computer.


5. A 30-second health check

With Ollama running:

ollama run qwen2.5:7b "Reply with the single word: ready"

When you are done, end the session with /bye or Ctrl+C. Then continue with How to use the manuals with Ollama.


Sources

  • Ollama, Windows: https://docs.ollama.com/windows
  • Ollama, macOS: https://docs.ollama.com/macos
  • Ollama, Quickstart: https://docs.ollama.com/quickstart
  • Ollama, hardware / GPU: https://docs.ollama.com/gpu
  • Ollama downloads: https://ollama.com/download
  • Official model cards (sizes cited above): https://ollama.com/library/nomic-embed-text and https://ollama.com/library/qwen2.5:7b