How to Install and Uninstall g++-9-riscv64-linux-gnu Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 01,2024

1. Install "g++-9-riscv64-linux-gnu" package

Please follow the guidelines below to install g++-9-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install g++-9-riscv64-linux-gnu

2. Uninstall "g++-9-riscv64-linux-gnu" package

Please follow the step by step instructions below to uninstall g++-9-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove g++-9-riscv64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-9-riscv64-linux-gnu package on Ubuntu 20.10 (Groovy Gorilla)

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.3.0-18ubuntu1cross1
Built-Using: gcc-9 (= 9.3.0-18ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (21ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20334
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.3.0-18ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.3.0-18ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9-cross-ports/g++-9-riscv64-linux-gnu_9.3.0-18ubuntu1cross1_amd64.deb
Size: 7213904
MD5sum: 4b5fb3f276ba9835fa2bc9e5a8bf7eaf
SHA1: 1cf316224316868a4a918c38ca3f259075b8211a
SHA256: 38770caa319d1bb0a8c3ab6103af85b1b06671db0d3848f83badeb3939b10610
SHA512: 872f76ae849c430f9b05a0e157ef6d5f94b7b7b3fe8c2e6f842dec209301b973c3d783cd96e6dd23868ada42a0e1510ca10f07feb82982bd64d590ca0351bbf3
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler (cross compiler for riscv64 architecture)
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This package contains C++ cross-compiler for riscv64 architecture.
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2