python2-smbus2 on AUR (Arch User Repository)

Last updated: November 14,2024

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

$ yay -S python2-smbus2

* (Optional) Uninstall python2-smbus2 on Arch using YAY

$ yay -Rns python2-smbus2

2. Manually Install "python2-smbus2" via AUR

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

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

b. Clone python2-smbus2's git locally

$ git clone https://aur.archlinux.org/python2-smbus2.git ~/python2-smbus2

c. Go to ~/python2-smbus2 folder and install it

$ cd ~/python2-smbus2 $ makepkg -si

3. Information about the python2-smbus2 package on Arch User Repository (AUR)

ID: 400622
Name: python2-smbus2
PackageBaseID: 121449
PackageBase: python2-smbus2
Version: 0.1.4-1
Description: A drop-in replacement for smbus-cffi/smbus-python in pure Python
URL: https://github.com/kplindegaard/smbus2
NumVotes: 1
Popularity: 0
OutOfDate: 1646856158
Maintainer:
FirstSubmitted: 1491982554
LastModified: 1491982554
URLPath: /cgit/aur.git/snapshot/python2-smbus2.tar.gz