How to Install and Uninstall python3-gdal Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 19,2024

1. Install "python3-gdal" package

Please follow the guidance below to install python3-gdal on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-gdal

2. Uninstall "python3-gdal" package

This is a short guide on how to uninstall python3-gdal on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python3-gdal $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-gdal package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-gdal
Architecture: amd64
Version: 2.2.3+dfsg-2
Priority: optional
Section: universe/python
Source: gdal
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GIS Project
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2198
Provides: python3.6-gdal
Depends: python3 (<< 3.7), python3 (>= 3.6~), python3-numpy (>= 1:1.13.1), python3-numpy-abi9, python3:any (>= 3.3.2-2~), gdal-abi-2-2-3, libc6 (>= 2.14), libgcc1 (>= 1:3.0), libgdal20 (>= 2.2.2), libstdc++6 (>= 5)
Suggests: gdal-bin
Filename: pool/universe/g/gdal/python3-gdal_2.2.3+dfsg-2_amd64.deb
Size: 345556
MD5sum: 626ea2f5b788d95f96a76921047094c0
SHA1: 50c5364f5ea4ca183fea944771e4c4c12184857f
SHA256: d88e497a7ce5c5cf589bce98cc751a5ca8e6bedb8fbf93819e67a932c30499e8
Homepage: http://www.gdal.org/
Description: Python 3 bindings to the Geospatial Data Abstraction Library
Description-md5: 189cfa04d8513b732c66b2b3857458f4