How to Install and Uninstall gdc Package on Debian 11 (Bullseye)

Last updated: May 16,2024

1. Install "gdc" package

Please follow the guidance below to install gdc on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install gdc

2. Uninstall "gdc" package

Please follow the guidance below to uninstall gdc on Debian 11 (Bullseye):

$ sudo apt remove gdc $ sudo apt autoclean && sudo apt autoremove

3. Information about the gdc package on Debian 11 (Bullseye)

Package: gdc
Source: gcc-defaults (1.190)
Version: 4:10.2.1-1
Installed-Size: 41
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: gdc-4.1 (<< 0.25-4.1.2-18), gdc-4.2 (<< 0.25-4.2.2-7), gdc-4.3 (<< 1:1.043-4.3.4-1)
Depends: gdc-10 (>= 10.2.1-3~), libgphobos-dev (= 10.2.1-1)
Description: D compiler (language version 2), based on the GCC backend
Description-md5: 27f6160b2c7f699452e12cc82b2f85f5
Tag: devel::TODO, devel::compiler, role::dummy, role::program
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gdc_10.2.1-1_amd64.deb
Size: 19692
MD5sum: 86746dcbc17476d5d7f3735b2a0c2da9
SHA256: f66484d1d80ccddaa2288a4b6e52b1f59a5abcbaa623e947ee270180c2d1be6a