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

Last updated: December 24,2024

1. Install "python-gdal" package

Learn how to install python-gdal on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-gdal

2. Uninstall "python-gdal" package

Please follow the guidance below to uninstall python-gdal on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-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: 2718
Provides: python2.7-gdal
Depends: python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.13.1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7.5-5~), 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/python-gdal_2.2.3+dfsg-2_amd64.deb
Size: 550760
MD5sum: 8b885a05a0bce2fcfb07ef473420cc0c
SHA1: 25d65f7b79ff5ccf4ae7acb3b4a6e5d481c4260e
SHA256: 28939d4655dddf8292197217b5f05440bdf6911aa0d1502dc68d3217129fbedc
Homepage: http://www.gdal.org/
Description: Python bindings to the Geospatial Data Abstraction Library
Description-md5: 09f84ea1ff9dfe31f6e783eade38bdf4