ctranslate2 on AUR (Arch User Repository)

Last updated: November 26,2024

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

$ yay -S ctranslate2

* (Optional) Uninstall ctranslate2 on Arch using YAY

$ yay -Rns ctranslate2

2. Manually Install "ctranslate2" via AUR

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

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

b. Clone ctranslate2's git locally

$ git clone https://aur.archlinux.org/ctranslate2.git ~/ctranslate2

c. Go to ~/ctranslate2 folder and install it

$ cd ~/ctranslate2 $ makepkg -si

3. Information about the ctranslate2 package on Arch User Repository (AUR)

ID: 1425270
Name: ctranslate2
PackageBaseID: 200440
PackageBase: ctranslate2
Version: 4.1.0-1
Description: A C++ library for efficient inference with Transformer models.
URL: https://opennmt.net/CTranslate2
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: yochananmarqos
Submitter: yochananmarqos
FirstSubmitted: 1702222357
LastModified: 1710178204
URLPath: /cgit/aur.git/snapshot/ctranslate2.tar.gz