osm2pgsql on AUR (Arch User Repository)

Last updated: May 15,2024

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

$ yay -S osm2pgsql

* (Optional) Uninstall osm2pgsql on Arch using YAY

$ yay -Rns osm2pgsql

2. Manually Install "osm2pgsql" via AUR

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

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

b. Clone osm2pgsql's git locally

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

c. Go to ~/osm2pgsql folder and install it

$ cd ~/osm2pgsql $ makepkg -si

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

ID: 1126210
Name: osm2pgsql
PackageBaseID: 158062
PackageBase: osm2pgsql
Version: 1.7.0-1
Description: tool for loading OpenStreetMap data into a PostgreSQL / PostGIS database
URL: https://osm2pgsql.org/
NumVotes: 1
Popularity: 0.101704
OutOfDate:
Maintainer: akstrfn
FirstSubmitted: 1601130930
LastModified: 1660552483
URLPath: /cgit/aur.git/snapshot/osm2pgsql.tar.gz