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

Last updated: November 24,2024

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

This tutorial shows how to install g++-10-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

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

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

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

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

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

Package: g++-10-riscv64-linux-gnu
Architecture: amd64
Version: 10.2.0-8ubuntu1cross1
Built-Using: gcc-10 (= 10.2.0-8ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross-ports (11ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22203
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-10-riscv64-linux-gnu-base (= 10.2.0-8ubuntu1cross1), gcc-10-riscv64-linux-gnu (= 10.2.0-8ubuntu1cross1), libstdc++-10-dev-riscv64-cross (>= 10), 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-10-doc (>= 10)
Filename: pool/universe/g/gcc-10-cross-ports/g++-10-riscv64-linux-gnu_10.2.0-8ubuntu1cross1_amd64.deb
Size: 7822496
MD5sum: 62ee1373789e600ca18bba5e38ffed97
SHA1: 4767cf2b9fa0d240db16e144659d443efc296a90
SHA256: 50853cdfaf9d54e618eff8c103c29e267f72e95d530a468f8c65acc5a8497e05
SHA512: c9ac07552c62b818efce8d24394ce3d43e8ed6a2e61296265041efb87375a15058ad91a781b6f6e99a0e38e36759fb453495d4a7b70bbc354f2783da7ca9de9f
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