Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920301 - Request for Ollama Utility
Summary: Request for Ollama Utility
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: https://ollama.ai/install.sh
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 05:07 UTC by Neko-san
Modified: 2024-01-29 12:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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