llama-cpp on AUR (Arch User Repository)

Last updated: July 08,2024

1. Install "llama-cpp" 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 on Arch using YAY

$ yay -S llama-cpp

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

$ yay -Rns llama-cpp

2. Manually Install "llama-cpp" 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's git locally

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

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

$ cd ~/llama-cpp $ makepkg -si

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

ID: 1308457
Name: llama-cpp
PackageBaseID: 195852
PackageBase: llama-cpp
Version: c3e53b4-1
Description: Port of Facebook's LLaMA model in C/C++
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.tar.gz