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

Last updated: May 15,2024

1. Install "gdc-8" package

Please follow the guidelines below to install gdc-8 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gdc-8

2. Uninstall "gdc-8" package

This is a short guide on how to uninstall gdc-8 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gdc-8
Architecture: amd64
Version: 8.4.0-7ubuntu3
Priority: optional
Section: universe/devel
Source: gcc-8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27546
Provides: d-compiler, d-v2-compiler, gdc
Depends: gcc-8-base (>= 8), g++-8 (>= 8), libgphobos-8-dev (>= 8), libc6 (>= 2.33), 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-8/gdc-8_8.4.0-7ubuntu3_amd64.deb
Size: 9423744
MD5sum: 67ac7cd17a9c1226aaf7cb8c0d933929
SHA1: e393cb91c5d00df5da1ed90986434ee428b5b087
SHA256: 349ab65b54d04a8d55e08a2affa9463b020384be74db37966bf7931791f69bf2
SHA512: 7313e3ebac88db610844b5b345feca1f3127265c478aca354e37589c6217940281ced911717b7e546811e84166a78dd14c0512c52630714e45adb077feb18588
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