How to Install and Uninstall gdc Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "gdc" package

Please follow the guidance below to install gdc on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gdc

2. Uninstall "gdc" package

Please follow the step by step instructions below to uninstall gdc on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the gdc package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gdc
Architecture: amd64
Version: 4:10.0-1ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.185.1ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Depends: gdc-10 (>= 10-20200307-0ubuntu1~), libgphobos-dev (= 10.0-1ubuntu2)
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.0-1ubuntu2_amd64.deb
Size: 5260
MD5sum: 835a6c1b8f5bf21761ed04147a6ac9fb
SHA1: 20a713f98ab45e165e209f334ebe2def72d057fb
SHA256: 83f80b6da405c88acc6aedc3744321ce22e8d9cfd27d9fa29119241a683920bb
Description: D compiler (language version 2), based on the GCC backend
Description-md5: 27f6160b2c7f699452e12cc82b2f85f5