ruby-mysql2 on AUR (Arch User Repository)

Last updated: May 17,2024

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

$ yay -S ruby-mysql2

* (Optional) Uninstall ruby-mysql2 on Arch using YAY

$ yay -Rns ruby-mysql2

2. Manually Install "ruby-mysql2" via AUR

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

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

b. Clone ruby-mysql2's git locally

$ git clone https://aur.archlinux.org/ruby-mysql2.git ~/ruby-mysql2

c. Go to ~/ruby-mysql2 folder and install it

$ cd ~/ruby-mysql2 $ makepkg -si

3. Information about the ruby-mysql2 package on Arch User Repository (AUR)

ID: 1125418
Name: ruby-mysql2
PackageBaseID: 165046
PackageBase: ruby-mysql2
Version: 0.5.4-1
Description: A simple, fast Mysql library for Ruby, binding to libmysql
URL: http://github.com/brianmario/mysql2
NumVotes: 0
Popularity: 0
OutOfDate: 1691649667
Maintainer: Segaja
Submitter: Segaja
FirstSubmitted: 1617052022
LastModified: 1660342203
URLPath: /cgit/aur.git/snapshot/ruby-mysql2.tar.gz