Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920301

Summary: Request for Ollama Utility
Product: Gentoo Linux Reporter: Neko-san <gentoo.qxrin>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement CC: eugene, gxldstein, parona
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://ollama.ai/install.sh
Whiteboard:
Package list:
Runtime testing required: ---

Description Neko-san 2023-12-19 05:07:02 UTC
I would like to request ollama as a package.
https://github.com/jmorganca/ollama

Upstream's method of installation currently only includes systemd services in addition to installing the program into `/usr/bin` and I'm not exactly a fan of scripts side-stepping package managers by throwing files in system directories.

Additionally, though not technically relevant, Arch has ollama in their repo (https://archlinux.org/packages/extra/x86_64/ollama) and it would be neat if we could have it over here in OpenRC Gentoo-land
Comment 1 Alfred Wingate 2023-12-19 05:27:20 UTC
> Upstream's method of installation currently only includes systemd services

This appears to be wrong, upstream only has a Dockerfile which they expect you to use, arch made their own systemd service for it which can be used on Gentoo (in addition to the service script that has to be made).

https://gitlab.archlinux.org/archlinux/packaging/packages/ollama/-/blob/main/ollama.service?ref_type=heads
Comment 2 Neko-san 2023-12-19 05:48:44 UTC
It's in the install script in the URL above
https://ollama.ai/install.sh
Comment 3 Eugene Bright 2024-01-20 16:14:35 UTC
There is a manual installation instruction for precompiled one-file binary
https://github.com/jmorganca/ollama/blob/main/docs/linux.md