libtorch-cuda on AUR (Arch User Repository)

Last updated: June 29,2024

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

$ yay -S libtorch-cuda

* (Optional) Uninstall libtorch-cuda on Arch using YAY

$ yay -Rns libtorch-cuda

2. Manually Install "libtorch-cuda" via AUR

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

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

b. Clone libtorch-cuda's git locally

$ git clone https://aur.archlinux.org/libtorch-cuda.git ~/libtorch-cuda

c. Go to ~/libtorch-cuda folder and install it

$ cd ~/libtorch-cuda $ makepkg -si

3. Information about the libtorch-cuda package on Arch User Repository (AUR)

ID: 1347050
Name: libtorch-cuda
PackageBaseID: 199167
PackageBase: libtorch-cuda
Version: 2.1.0-1
Description: Pytorchs C++ direct implementation
URL: www.pytorch.org
NumVotes: 0
Popularity: 0
OutOfDate: 1707421476
Maintainer: Iceweasel
Submitter: Iceweasel
FirstSubmitted: 1698960683
LastModified: 1699041647
URLPath: /cgit/aur.git/snapshot/libtorch-cuda.tar.gz