How to Install and Uninstall osm2pgsql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 21,2024

1. Install "osm2pgsql" package

Please follow the guidelines below to install osm2pgsql on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install osm2pgsql

2. Uninstall "osm2pgsql" package

Please follow the instructions below to uninstall osm2pgsql on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove osm2pgsql $ sudo apt autoclean && sudo apt autoremove

3. Information about the osm2pgsql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: osm2pgsql
Architecture: amd64
Version: 0.94.0+ds-1
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1254
Depends: libbz2-1.0, libc6 (>= 2.14), libexpat1 (>= 2.0.1), libgcc1 (>= 1:3.0), liblua5.2-0, libpq5, libproj12 (>= 4.8.0), libstdc++6 (>= 7), zlib1g (>= 1:1.2.6)
Recommends: postgis
Filename: pool/universe/o/osm2pgsql/osm2pgsql_0.94.0+ds-1_amd64.deb
Size: 379820
MD5sum: 1ce30ef6d799afa28cd969fd204e34cb
SHA1: ac123d1494004c3b9a595baa8c373b83d7f96682
SHA256: 9f4c2c2dd75859815fe21080b1c6e5718adb701c196775aea41da6a9bd4061c8
Homepage: https://wiki.openstreetmap.org/wiki/Osm2pgsql
Description: OpenStreetMap data to PostgreSQL converter
Description-md5: 90d71a17cb11022105b2ed19601badf4