How to Install and Uninstall gdc-riscv64-linux-gnu Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 22,2024

1. Install "gdc-riscv64-linux-gnu" package

Please follow the guidelines below to install gdc-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install gdc-riscv64-linux-gnu

2. Uninstall "gdc-riscv64-linux-gnu" package

Here is a brief guide to show you how to uninstall gdc-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove gdc-riscv64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gdc-riscv64-linux-gnu package on Ubuntu 20.04 LTS (Focal Fossa)

Package: gdc-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.0-1ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.185ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp-riscv64-linux-gnu (>= 4:9.3.0-1ubuntu2), gdc-10-riscv64-linux-gnu (>= 10-20200307-0ubuntu1~)
Filename: pool/universe/g/gcc-defaults-ports/gdc-riscv64-linux-gnu_10.0-1ubuntu2_amd64.deb
Size: 1188
MD5sum: fe8ebae1a216aafa62a895d0031f26a9
SHA1: 2a28941fe7f3f766cba20bbd79dcf4e665f534fe
SHA256: b745d76dbc851941db6cead9b54b2bf1b17deecd67b1e65ed8807bbcb9b243b1
Description: GNU D compiler (based on GCC) for the riscv64 architecture
Description-md5: 0ce0dc2c3133cc38c663adbb2ae01be4