app-misc/ollama-bin - 0.3.11 (lamdness)

Search

Install

Install this version:

emerge -a =app-misc/ollama-bin-0.3.11

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/ollama-bin-0.3.11

Or alternatively:

emerge --autounmask-write -a =app-misc/ollama-bin-0.3.11

Package Information

Description:
Ollama is a command-line tool for managing and running private LLMs
Homepage:
https://github.com/ollama/ollama
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.3.11 8 ~amd64 ~x86 0
View Raw Ebuild
# =============================================================================
#  File:    ${P}.ebuild
#  Path:    /usr/portage/${PN}
#  Source:  https://github.com/ollama/ollama.git
# =============================================================================

EAPI=8

inherit systemd

DESCRIPTION="Ollama is a command-line tool for managing and running private LLMs"
HOMEPAGE="https://github.com/ollama/ollama"

ROOT=/
SRC_URI="https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64.tgz -> ollama-linux-amd64-${PV}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
        acct-user/ollama
        acct-group/ollama
        "

RDEPEND="${DEPEND}"

src_unpack() {
    elog "copying binary"
    mkdir -v "$WORKDIR/$P"
    tar xzpf "$DISTDIR/ollama-linux-amd64-${PV}.tgz" -C "$WORKDIR/$P"
}

src_install() {
    elog "installing"
    dobin bin/ollama
    dolib.so lib/ollama/lib*.so*
    newinitd "${FILESDIR}/ollama.initd" "ollama"
    newenvd "${FILESDIR}"/ollama.envd 99ollama
    systemd_dounit "${FILESDIR}/ollama.service"
}

Inherited Eclasses

Dependencies

DEPEND

        acct-user/ollama
        acct-group/ollama
        

RDEPEND

        acct-user/ollama
        acct-group/ollama
        

Manifest for 0.3.11

Type File Size Source URLs
DIST ollama-linux-amd64-0.3.11.tgz 1659919358 bytes https://github.com/ollama/ollama/releases/download/v0.3.11/ollama-linux-amd64.tgz