How to Install and Uninstall gcc-riscv64-linux-gnu Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 09,2024

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

Please follow the instructions below to install gcc-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo)

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

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

This guide covers the steps necessary to uninstall gcc-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-riscv64-linux-gnu package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Depends: cpp-riscv64-linux-gnu (= 4:10.3.0-1ubuntu1), gcc-10-riscv64-linux-gnu (>= 10.3.0-1~)
Recommends: libc6-dev-riscv64-cross | libc-dev-riscv64-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-riscv64-linux-gnu, gcc-doc
Filename: pool/universe/g/gcc-defaults-ports/gcc-riscv64-linux-gnu_10.3.0-1ubuntu1_amd64.deb
Size: 1416
MD5sum: f24e1f99fdfcec43d95fc7feee037900
SHA1: 678d62a69db605ad81f18d85ac7c0ccec1f5fddf
SHA256: 09b5d2652073c3f25ecb953b2046500dd3d3f09b99e6b4c7274a772cbf35150d
SHA512: 69f618f593cf7a470e6550b7fe62fc551def9c02d3c0af47adcc76b1d441390bded043dbafd23740e86569f4de605007c5f5b319affd2d2df068572f622cbe02
Description-en: GNU C compiler for the riscv64 architecture
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C cross-compiler
for the riscv64 architecture.
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9