opencv2 on AUR (Arch User Repository)

Last updated: November 23,2024

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

$ yay -S opencv2

* (Optional) Uninstall opencv2 on Arch using YAY

$ yay -Rns opencv2

2. Manually Install "opencv2" via AUR

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

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

b. Clone opencv2's git locally

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

c. Go to ~/opencv2 folder and install it

$ cd ~/opencv2 $ makepkg -si

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

ID: 1372002
Name: opencv2
PackageBaseID: 110547
PackageBase: opencv2
Version: 2.4.13.7-5
Description: Open Source Computer Vision Library (version 2.x)
URL: https://opencv.org/
NumVotes: 28
Popularity: 0.255098
OutOfDate:
Maintainer: dbermond
Submitter: reisub
FirstSubmitted: 1461591354
LastModified: 1702936044
URLPath: /cgit/aur.git/snapshot/opencv2.tar.gz