Install this version:
emerge -a =acct-user/ollama-2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =acct-user/ollama-2
Or alternatively:
emerge --autounmask-write -a =acct-user/ollama-2
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
DESCRIPTION="A user for ollama AI service"
ACCT_USER_ID=-1
ACCT_USER_HOME=/opt/ollama-bin
ACCT_USER_HOME_PERMS=0755
ACCT_USER_GROUPS=( ollama )
KEYWORDS="~amd64 ~arm64"
IUSE="cuda"
acct-user_add_deps
RDEPEND+="
cuda? (
acct-group/video
)
"
pkg_setup() {
# sci-ml/ollama-bin[cuda]
if use cuda; then
ACCT_USER_GROUPS+=( video )
fi
}
Manage flags for this package:
euse -i <flag> -p acct-user/ollama |
euse -E <flag> -p acct-user/ollama |
euse -D <flag> -p acct-user/ollama
cuda? ( acct-group/video )