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

Last updated: May 03,2024

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

In this section, we are going to explain the necessary steps to install g++-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

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

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

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

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

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

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.189ubuntu1)
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:10.2.0-1ubuntu1), gcc-riscv64-linux-gnu (= 4:10.2.0-1ubuntu1), g++-10-riscv64-linux-gnu (>= 10.2.0-8~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_10.2.0-1ubuntu1_amd64.deb
Size: 1132
MD5sum: 49d690d96a8352f62dcfc28ef27f126a
SHA1: d9e7b18b845211e2e0d67ab0cfd3216e99ce0750
SHA256: 6f1d1159291419bad14ade513cc9605decad4957d623f4731414ead566603182
SHA512: de59c427d1e9de8b0ac999b8d323202f642dcb4072636101ac5c5fe8e01ab65d5346ac6a7178821374fd265b53bcf37e04b05d48df11cdf685c3228d8ef587d6
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: ebbf506aca8c79a0d53f2d5b1879a38c