llama-cpp-opencl on AUR (Arch User Repository)

Last updated: November 24,2024

1. Install "llama-cpp-opencl" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install llama-cpp-opencl on Arch using YAY

$ yay -S llama-cpp-opencl

* (Optional) Uninstall llama-cpp-opencl on Arch using YAY

$ yay -Rns llama-cpp-opencl

2. Manually Install "llama-cpp-opencl" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone llama-cpp-opencl's git locally

$ git clone https://aur.archlinux.org/llama-cpp-opencl.git ~/llama-cpp-opencl

c. Go to ~/llama-cpp-opencl folder and install it

$ cd ~/llama-cpp-opencl $ makepkg -si

3. Information about the llama-cpp-opencl package on Arch User Repository (AUR)

ID: 1308459
Name: llama-cpp-opencl
PackageBaseID: 195852
PackageBase: llama-cpp
Version: c3e53b4-1
Description: Port of Facebook's LLaMA model in C/C++ (with OpenCL)
URL: https://github.com/ggerganov/llama.cpp
NumVotes: 1
Popularity: 0.490555
OutOfDate: 1692967398
Maintainer: Freed
Submitter: Freed
FirstSubmitted: 1689667143
LastModified: 1692877217
URLPath: /cgit/aur.git/snapshot/llama-cpp-opencl.tar.gz