# ollama **Repository Path**: moondown/ollama ## Basic Information - **Project Name**: ollama - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-06 - **Last Updated**: 2025-11-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ollama ๐Ÿ“ฆ Debian package builder for [Ollama](https://ollama.com), supporting multiple architectures and variants: - `amd64` - `arm64` The packages include: - the official `ollama` binary - a systemd service (`ollama.service`) ## โœ… Features - Generates `.deb` packages ready to install via `dpkg` or `apt` - Installs `ollama` to `/usr/bin/ollama` - Installs and enables the `ollama.service` on boot - Creates a dedicated `ollama` user - GitHub Actions workflow for CI builds and artifact publishing ## ๐Ÿ›  Usage You can build packages manually or use the GitHub workflow. ### Manual build ```bash ./scripts/build.sh ``` Example: ```bash ./scripts/build.sh 1.0.0 amd64 dist/ ./scripts/build.sh 1.0.0 arm64 dist/ ``` This will generate `.deb` files in the `dist/` directory. ### GitHub Actions This project automatically builds `.deb` packages on every push of a Git tag starting with `v`. To trigger a build: ```bash git tag v1.0.0 git push origin v1.0.0 ``` This will: - Run the GitHub Actions workflow - Build all `.deb` packages (amd64, arm64) - Upload the resulting `.deb` files as downloadable artifacts ## ๐Ÿ“ฆ Install the package ```bash sudo dpkg -i ollama__.deb sudo systemctl enable --now ollama ``` ## ๐Ÿ” Security notes The package creates a system user `ollama` to isolate the daemon. It does not run as root. Ensure the binary comes from a trusted source (`ollama.com`) or verify the tarball manually. ## ๐Ÿ“ Layout ``` scripts/ โ†’ build script debian/DEBIAN/ โ†’ control files (control, postinst) debian/usr/lib/... โ†’ tmpfiles.d configuration debian/lib/systemd/... โ†’ ollama systemd unit .github/workflows/ โ†’ GitHub CI workflow ``` ## ๐Ÿงช Tested on - Ubuntu 22.04 LTS - GitHub-hosted runners (`ubuntu-latest`) --- ยฉ 2025 [GOABONGA](https://goabonga.com) - Not affiliated with Ollama.