How to Install and Uninstall libgd-dev Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "libgd-dev" package

In this section, we are going to explain the necessary steps to install libgd-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libgd-dev

2. Uninstall "libgd-dev" package

Please follow the guidance below to uninstall libgd-dev on Debian 11 (Bullseye):

$ sudo apt remove libgd-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libgd-dev package on Debian 11 (Bullseye)

Package: libgd-dev
Source: libgd2
Version: 2.3.3-5+0~20220711.9+debian11~1.gbp72b297
Architecture: amd64
Maintainer: GD Team
Installed-Size: 821
Depends: libavif-dev | base-files (<< 11.1~), libfontconfig-dev, libfreetype6-dev, libgd3 (= 2.3.3-5+0~20220711.9+debian11~1.gbp72b297), libheif-dev | base-files (<< 11.1~), libjpeg-dev, libpng-dev, libtiff-dev, libvpx-dev, libx11-dev, libxpm-dev, libz-dev
Multi-Arch: same
Homepage: http://www.libgd.org/
Priority: optional
Section: libdevel
Filename: pool/main/libg/libgd2/libgd-dev_2.3.3-5+0~20220711.9+debian11~1.gbp72b297_amd64.deb
Size: 271940
SHA256: 43cae695ab0811be897edb0c300ce51928f1289d3b3e6d9cc04c18c3a8b24a8c
SHA1: bd79a87e0780050a5829c78183c120134a678774
MD5sum: 6e225d5da25b032aafea39197a7d97ec
Description: GD Graphics Library (development version)
Description-md5: e2e1452132bfe957f8694d8a8920856e

Package: libgd-dev
Source: libgd2
Version: 2.3.0-2
Installed-Size: 826
Maintainer: GD Team
Architecture: amd64
Depends: libgd3 (= 2.3.0-2), libpng-dev, libz-dev, libjpeg-dev, libfreetype6-dev, libxpm-dev, libx11-dev, libxt-dev, libfontconfig-dev, libvpx-dev, libtiff-dev
Description: GD Graphics Library (development version)
Description-md5: e2e1452132bfe957f8694d8a8920856e
Multi-Arch: same
Homepage: http://www.libgd.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/libg/libgd2/libgd-dev_2.3.0-2_amd64.deb
Size: 274344
MD5sum: d09facd4d0e064f9b49f4ef2bd626b13
SHA256: f5f1a9abcac0c590ee4cbbc986e87a15ee2a5a643dd234f152ae8fd9c4bf5dab