pg_repack on AUR (Arch User Repository)

Last updated: November 08,2024

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

$ yay -S pg_repack

* (Optional) Uninstall pg_repack on Arch using YAY

$ yay -Rns pg_repack

2. Manually Install "pg_repack" via AUR

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

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

b. Clone pg_repack's git locally

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

c. Go to ~/pg_repack folder and install it

$ cd ~/pg_repack $ makepkg -si

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

ID: 1424274
Name: pg_repack
PackageBaseID: 66007
PackageBase: pg_repack
Version: 1.5.0-2
Description: Reorganize tables in PostgreSQL databases with minimal locks (fork of pg_reorg)
URL: https://reorg.github.io/pg_repack/
NumVotes: 3
Popularity: 0
OutOfDate:
Maintainer: drakkan
Submitter: intgr
FirstSubmitted: 1357298893
LastModified: 1710061771
URLPath: /cgit/aur.git/snapshot/pg_repack.tar.gz