php-version on AUR (Arch User Repository)

Last updated: June 25,2024

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

$ yay -S php-version

* (Optional) Uninstall php-version on Arch using YAY

$ yay -Rns php-version

2. Manually Install "php-version" via AUR

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

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

b. Clone php-version's git locally

$ git clone https://aur.archlinux.org/php-version.git ~/php-version

c. Go to ~/php-version folder and install it

$ cd ~/php-version $ makepkg -si

3. Information about the php-version package on Arch User Repository (AUR)

ID: 864586
Name: php-version
PackageBaseID: 163420
PackageBase: php-version
Version: 0.13.0-2
Description: Chruby-like (a.k.a. simple) script for switching between PHP versions
URL: https://github.com/wilmoore/php-version/wiki/Installing
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: sampsoncrowley
Submitter: sampsoncrowley
FirstSubmitted: 1613521108
LastModified: 1613521904
URLPath: /cgit/aur.git/snapshot/php-version.tar.gz