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

Last updated: November 27,2024

1. Install "gdc-7" package

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

$ sudo apt update $ sudo apt install gdc-7

2. Uninstall "gdc-7" package

This tutorial shows how to uninstall gdc-7 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gdc-7
Architecture: amd64
Version: 7.5.0-6ubuntu4
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26014
Provides: d-compiler, d-v2-compiler, gdc
Depends: gcc-7-base (>= 7), g++-7 (>= 7), libgphobos-7-dev (>= 7), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Replaces: gdc (<< 4.4.6-5)
Filename: pool/universe/g/gcc-7/gdc-7_7.5.0-6ubuntu4_amd64.deb
Size: 9137704
MD5sum: 34250a13850f37cc634caacbe886174a
SHA1: e16e32d05b8db37f4049e5b5e8b72a31e4ff68b8
SHA256: 387249ea7af978edf16839f6f73c7544e7e0a20bfb7515f4a7b6394ac3e32dde
SHA512: cc895fdac2beb8a66487e1d643dfa7209072c32487255560b1660e1ab44704fa17faa2e705b1b7874128ce010a1dcae3cf402661db16cb50468ce952dc35dc3a
Homepage: http://gcc.gnu.org/
Description-en: GNU D compiler (version 2)
This is the GNU D compiler, which compiles D on platforms supported by gcc.
It uses the gcc backend to generate optimised code.
.
This compiler supports D language version 2.
Description-md5: 864a87c3c14c54bac8e1eca97a6eb9a7