Package Details: alpaca-ai 8.5.1-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: Sid127
Last Packager: Sid127
Votes: 11
Popularity: 0.186541
First Submitted: 2024-09-01 20:50 (UTC)
Last Updated: 2025-12-11 19:24 (UTC)

Dependencies (50)

Required by (0)

Sources (1)

Pinned Comments

Sid127 commented on 2025-11-01 04:32 (UTC)

Please avoid marking the package out of date unless it's been a few days since release. I have release notifications set up for the repository already.

Latest Comments

1 2 3 Next › Last »

Sid127 commented on 2025-11-01 04:32 (UTC)

Please avoid marking the package out of date unless it's been a few days since release. I have release notifications set up for the repository already.

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.

mab122 commented on 2025-07-28 10:11 (UTC)

dependencies that were missing for me:

libportal
python-opencv
python-duckduckgo-search

papa33 commented on 2025-07-26 20:20 (UTC) (edited on 2025-07-27 12:08 (UTC) by papa33)

Edit: today I have this error


file "/usr/lib/python3.13/threading.py", line 1505, in _register_atexit
    raise RuntimeError("can't register atexit after shutdown")
RuntimeError: can't register atexit after shutdown

Version 7.5.5 not starting:


INFO    [main.py | main] Alpaca version: 7.5.5
Traceback (most recent call last):
  File "/usr/share/Alpaca/alpaca/main.py", line 166, in do_activate
    self.main_alpaca_window = get_window_library('alpaca')(application=self)
                              ~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/share/Alpaca/alpaca/main.py", line 63, in get_window_library
    _loaded_window_libraries[name] = _window_loaders[name]()
                                     ~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/share/Alpaca/alpaca/main.py", line 53, in <lambda>
    'alpaca': lambda: __import__('alpaca.window', fromlist=['AlpacaWindow']).AlpacaWindow,
                      ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/Alpaca/alpaca/window.py", line 34, in <module>
    from . import widgets as Widgets
  File "/usr/share/Alpaca/alpaca/widgets/__init__.py", line 3, in <module>
    from . import chat, dialog, message, terminal, attachments, voice, camera, instances, models, welcome, preferences
  File "/usr/share/Alpaca/alpaca/widgets/chat.py", line 11, in <module>
    from . import dialog, voice
  File "/usr/share/Alpaca/alpaca/widgets/voice.py", line 11, in <module>
    from . import dialog, models, blocks
  File "/usr/share/Alpaca/alpaca/widgets/models/__init__.py", line 3, in <module>
    from . import added, available, pulling, common, speech, creator
  File "/usr/share/Alpaca/alpaca/widgets/models/added.py", line 7, in <module>
    from .. import dialog, attachments
  File "/usr/share/Alpaca/alpaca/widgets/attachments.py", line 4, in <module>
    gi.require_version('Xdp', '1.0')
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Xdp not available