How to Install and Uninstall gdc-12 Package on Debian 12 (Bookworm)

Last updated: May 20,2024

1. Install "gdc-12" package

Please follow the steps below to install gdc-12 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gdc-12

2. Uninstall "gdc-12" package

Please follow the instructions below to uninstall gdc-12 on Debian 12 (Bookworm):

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

3. Information about the gdc-12 package on Debian 12 (Bookworm)

Package: gdc-12
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 37839
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: gdc (<< 4.4.6-5)
Provides: d-compiler, d-v2-compiler, gdc
Depends: gcc-12-base (>= 12), g++-12 (>= 12), libgphobos-12-dev (>= 12), libc6 (>= 2.36), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Description: GNU D compiler (version 2)
Description-md5: 864a87c3c14c54bac8e1eca97a6eb9a7
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12/gdc-12_12.2.0-14_amd64.deb
Size: 10697816
MD5sum: 19a8056fc081ff22ca780bcea8b1a905
SHA256: e64fa78381b405b5854037162d9ac3359c0eb0637b1a87b0676ecdf56ece0bec