ollama 附加软件包管理器支持

odopli94  于 7个月前  发布在  其他
关注(0)|答案(6)|浏览(64)

这是一个涵盖支持其他软件包管理器的问题:

  • MacPorts
  • Apt
  • Scoop
  • Nix
mf98qq94

mf98qq942#

我正在为RPM软件包举手,从Fedora、Red Hat、CentOS/Alma/Rocky/Oracle开始。
第一个障碍是定义一个与产品路线图一致的配置管理。当前使用os.Getenv()的实现是一种跨平台获取任何操作系统上的配置变量的好方法。
由于DEB或RPM可能需要使用/etc,因此/etc/ollama将包含所有现有和未来的配置文件需求。MacOS和Windows也需要针对特定操作系统。跨平台配置的单一真实来源将有助于开发人员和用户。

e0uiprwp

e0uiprwp3#

希望看到Scoop、Nix和Debian apt支持

xriantvc

xriantvc4#

I'm checking in with update for .deb on apt. Progress so far.

  • Note, I've never created nor maintained a .deb ppa before, so I'm learning on the go, and open to "best practices" and feedback*

Installer Script via .deb (done, room for improvement)

This, when installed (perhaps to be named ollama-installer , will run a post installation script, namely the script from https://ollama.com/download/linux (at the time of writing this, that's curl -fsSL https://ollama.com/install.sh | sh )
Code Repo will be hosted at: https://github.com/seanmavley/ollama-deb
The PPA to grab the current script installer via .deb is at https://launchpad.net/~khophi/+archive/ubuntu/ollama/+packages

Ollama binary via .deb (working on)

This, when installed, (perhaps to be named ollama-binary ) will install the actual ollama binary built from source and configure it with systemd service etc, similar to end results of running the installer script.
This will be versioned, in tandem with Ollama unlike the installer above which will always point to latest stable at the time of install (versioned, but not from the side of the ppa, but at the time of install per the script)
Cheers

xqkwcwgp

xqkwcwgp5#

Fedora包的任何进展?

af7jpaap

af7jpaap6#

有一个OpenSUSE RPM of Ollama (in "Factory" builds repo)。
dimstar @DimStar77维护。
顺便说一下,这个包的构建比官方的要小约10倍。这是否意味着它更好地优化了依赖关系并删除了未使用的代码?

相关问题