How to Install and Uninstall python3-gdal Package on Debian 11 (Bullseye)

Last updated: May 19,2024

1. Install "python3-gdal" package

Please follow the steps below to install python3-gdal on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-gdal

2. Uninstall "python3-gdal" package

Please follow the instructions below to uninstall python3-gdal on Debian 11 (Bullseye):

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

3. Information about the python3-gdal package on Debian 11 (Bullseye)

Package: python3-gdal
Source: gdal
Version: 3.2.2+dfsg-2+deb11u1
Installed-Size: 3182
Maintainer: Debian GIS Project
Architecture: amd64
Depends: python3 (<< 3.10), python3 (>= 3.9~), python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3:any, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libgdal28 (>= 3.2.0), libstdc++6 (>= 5.2)
Suggests: gdal-bin
Description: Python 3 bindings to the Geospatial Data Abstraction Library
Description-md5: 202849247dbe86b8eaf9fbe133b4dc09
Homepage: http://www.gdal.org/
Tag: devel::lang:python, devel::library, implemented-in::c,
implemented-in::c++, implemented-in::python, role::devel-lib
Section: python
Priority: optional
Filename: pool/main/g/gdal/python3-gdal_3.2.2+dfsg-2+deb11u1_amd64.deb
Size: 889116
MD5sum: 57caeafe188cd3b6ca4d84b592c50452
SHA256: fa70ffc815f6e5d7f8407010b2204cc7b87d3d8655f275f175d744715fea70c5