How to Install and Uninstall gdc Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "gdc" package

Please follow the instructions below to install gdc on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gdc

2. Uninstall "gdc" package

Please follow the steps below to uninstall gdc on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gdc package on Ubuntu 21.04 (Hirsute Hippo)

Package: gdc
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: gdc-10 (>= 10.3.0-1~), libgphobos-dev (= 10.3.0-1ubuntu1)
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)
Filename: pool/universe/g/gcc-defaults/gdc_10.3.0-1ubuntu1_amd64.deb
Size: 5364
MD5sum: 508bdc0d02cc406b70b38efa2c3a3021
SHA1: d3c1cdaea2816e532e39bd7f4fd0354fea86b859
SHA256: d6afa096bd8ba16e28fb271c8cad67e39636beb574a291a1b97a472cef7ed3ad
SHA512: 051ea6cbaf6cfe44417a1e21b9ea35954b109767fef19e0cfaea4ebccd51fab417def28816a34ed5726d73f701be0baa175eed2c0030ce723174d79df0dae030
Description-en: D compiler (language version 2), based on the GCC backend
This is a dependency package providing the default D compiler.
Per policy, all packages that contain D sources must use this package
in their Build-Depends line.
.
This compiler supports D language version 2.
Description-md5: 27f6160b2c7f699452e12cc82b2f85f5