Package Details: alpaca-ai 9.2.3-1

Git Clone URL: https://aur.archlinux.org/alpaca-ai.git (read-only, click to copy)
Package Base: alpaca-ai
Description: An Ollama client. Chat with local AI models or connect to third party AI providers like ChatGPT, Gemini and more
Upstream URL: https://github.com/Jeffser/Alpaca
Keywords: ai alpaca gpt gptchat ollama
Licenses: GPL-3.0-or-later
Submitter: radiolin
Maintainer: marmis
Last Packager: marmis
Votes: 12
Popularity: 0.52
First Submitted: 2024-09-01 20:50 (UTC)
Last Updated: 2026-04-02 03:06 (UTC)

Pinned Comments

Latest Comments

1 2 3 Next › Last »

marmis commented on 2026-03-26 05:56 (UTC) (edited on 2026-03-26 05:57 (UTC) by marmis)

Thanks @patina, I updated the PKGBUILD with some small changes:

  • python-opencv is required, Alpaca won't even start without it.
  • blueprint-compiler moved to makedepends.
  • moved whatever I could to optdepends, including rembg.
  • some dependencies were included to satisfy misaki-en, so I added that as optdepends instead.

patina commented on 2026-03-25 03:47 (UTC)

I've revised the PKGBUILD dependencies to support TTS/STT and the REMBG tool. As well as for some other errors.

PKGBUILD
# List of runtime dependencies
depends=(
    blueprint-compiler
    dconf
    glib2
    gst-plugin-pipewire
    gtk4
    gtksourceview5
    hicolor-icon-theme
    libadwaita
    libportal
    libspelling
    nuspell
    ollama
    pango
    python
    python-cairo
    python-espeakng-loader
    python-gobject
    python-html2text
    python-kokoro
    python-markitdown
    python-matplotlib
    python-num2words
    python-odfpy
    python-ollama
    python-openai
    python-openai-whisper
    #python-phonemizer         # Pending Fork Merge
    python-phonemizer-fork
    python-pyaudio
    python-pydbus
    python-pyicu
    python-rembg
    python-sounddevice
    python-spacy
    python-spacy-en_core_web_sm
    python-thinc
    python-zstandard
    vte4
    webkitgtk-6.0
)

# List of build-time dependencies
makedepends=(
    appstream
    desktop-file-utils
    gettext
    git
    meson
)

Terrorizer commented on 2025-10-29 14:32 (UTC)

==> Erstelle Paket: alpaca-ai 8.2.2-1 (Mi 29 Okt 2025 15:31:21 CET) ==> Empfange Quellen... -> alpaca-ai-8.2.2.tar.gz gefunden ==> Überprüfe source Dateien mit b2sums... alpaca-ai-8.2.2.tar.gz ... FEHLGESCHLAGEN ==> FEHLER: Eine oder mehrere Dateien überstanden nicht die Gültigkeits-Prüfung! Fehler: Quellen für ‚alpaca-ai-8.2.2-1‘ konnten nicht heruntergeladen werden: Fehler: Pakete konnten nicht erstellt werden: alpaca-ai-8.2.2-1

what can i do ?

jianglai commented on 2025-10-26 13:22 (UTC)

v8.2.2 forgot to update the checksum

--- PKGBUILD    2025-10-26 01:10:20.000000000 -0400
+++ ../PKGBUILD 2025-10-26 09:19:47.412244452 -0400
@@ -15,7 +15,7 @@

 # Corrected source URL format for GitHub tags
 source=("$pkgname-$pkgver.tar.gz::https://github.com/Jeffser/$_pkgname/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('7d4a6d3eacbde1a8ca9cb5290d2db925a4e35bced64c8abadadf5c652867de474abb5cbd59d6db85754f001829ae412c0bb3410f0f85736aebaf9b45de0fa76b')
+b2sums=('a7de686b6b973d3dbe65b1f30cc5c5c7953bc8e7681c49d7ce1c1aff1eed9b690b8707e4f069ad046e67443bc032c9c406ea4540e748b33d9aac3982f923f1a2')

RainOrigami commented on 2025-10-21 18:29 (UTC)

python-opencv dependency breaks this package and prevents the program from starting:

ImportError: /usr/lib/libopencv_highgui.so.412: undefined symbol: _ZN9QtPrivate17expectedAllocSizeEmm, version Qt_6

Instead uninstalling python-opencv

yay -Rdd python-opencv

and installing opencv-python through pip

pip install opencv-python --break-system-packages

resolves the issue and alpaca starts correctly.

patina commented on 2025-09-13 23:34 (UTC) (edited on 2025-09-14 17:22 (UTC) by patina)

I've revised the PKGBUILD dependencies to support TTS/STT and the REMBG tool.

PKGBUILD
# Maintainer: Pedro dev <pedrolucasinvestidor.github@gmail.com>
# OLD.Maintainer: Radiolin <anton.osi2011@gmail.com>
#
# This PKGBUILD builds the 'alpaca-ai' application.
# Before attempting to build this package, ensure all AUR dependencies are installed.
pkgname=alpaca-ai
_pkgname=alpaca
pkgver=8.1.0
pkgrel=4
pkgdesc="An Ollama client. Chat with local AI models or connect to third party AI providers like ChatGPT , Gemini and more"
arch=(any) # 'any' is generally suitable for Python applications, but specific arch (e.g., 'x86_64') might be used if native components are present.
url="https://github.com/Jeffser/${_pkgname}" # Project URL, clarified to use _pkgname
license=(GPL-3.0-or-later)
options=(!debug) # Disable debug symbols for a smaller package

# Corrected source URL format for GitHub tags
source=("$pkgname-$pkgver.tar.gz::https://github.com/Jeffser/$_pkgname/archive/refs/tags/$pkgver.tar.gz")
b2sums=('66b2ce2ec63b69631b02af3fa6c404cea8a2ddf20585da1c1f34a41431023dc6008ba2fa050f068445f01c31915c52bd178f8f53716ce1dd16854c91174df471')

# List of runtime dependencies
depends=(
    blueprint-compiler
    dconf
    glib2
    gst-plugin-pipewire
    gtk4
    gtksourceview5
    hicolor-icon-theme
    libadwaita
    libportal
    libspelling
    nuspell
    ollama
    pango
    python
    python-cairo
    python-espeakng-loader
    python-gobject
    python-html2text
    python-kokoro
    python-markitdown
    python-matplotlib
    python-num2words
    python-odfpy
    python-openai
    python-openai-whisper
    #python-phonemizer         # Pending Fork Merge
    python-phonemizer-fork
    python-pyaudio
    python-pydbus
    python-pyicu
    python-rembg
    python-sounddevice
    python-spacy
    python-spacy-en_core_web_sm
    #python-thinc              # v9 on Python 12
    python-thinc-bin-8.3.2     # v8 on Python 13 (thinc-8.3.6)
    vte4
    webkitgtk-6.0
)

# List of build-time dependencies
makedepends=(
    appstream
    desktop-file-utils
    gettext
    git
    meson
)

build() {
    # The extracted source directory is 'Alpaca-X.X.X' (with 'A' capitalized)
    # This path matches the actual directory created by tar.
    arch-meson "Alpaca-$pkgver" build
    meson compile -C build
}

package() {
    meson install -C build --destdir "$pkgdir"
}

Kcchouette commented on 2025-08-27 08:00 (UTC) (edited on 2025-08-27 08:01 (UTC) by Kcchouette)

==> Making package: alpaca-ai 7.7.5-1 (mer. 27 août 2025 09:57:27)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found alpaca-ai-7.7.5.tar.gz
==> Validating source files with b2sums...
    alpaca-ai-7.7.5.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build alpaca-ai

hnacho commented on 2025-08-04 08:29 (UTC)

i needed to install

python-opencv
python-whisper
python-duckduckgo-search

ww998 commented on 2025-08-02 21:20 (UTC)

Yes, needed to install libportal python-opencv and python-duckduckgo-search as @mab122 said.

They should be dependencies for the package.