How to Install and Uninstall g++-10-riscv64-linux-gnu Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 28,2024

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

Please follow the steps below to install g++-10-riscv64-linux-gnu on Ubuntu 21.10 (Impish Indri)

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

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

Please follow the step by step instructions below to uninstall g++-10-riscv64-linux-gnu on Ubuntu 21.10 (Impish Indri):

$ 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 21.10 (Impish Indri)

Package: g++-10-riscv64-linux-gnu
Architecture: amd64
Version: 10.3.0-8ubuntu1cross1
Built-Using: gcc-10 (= 10.3.0-8ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross-ports (19ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22272
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-10-riscv64-linux-gnu-base (= 10.3.0-8ubuntu1cross1), gcc-10-riscv64-linux-gnu (= 10.3.0-8ubuntu1cross1), libstdc++-10-dev-riscv64-cross (>= 10), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Suggests: gcc-10-doc (>= 10)
Filename: pool/universe/g/gcc-10-cross-ports/g++-10-riscv64-linux-gnu_10.3.0-8ubuntu1cross1_amd64.deb
Size: 8384810
MD5sum: 39380f0e6e49100ea685e22c706dcacc
SHA1: a38ee2dca0df3ac0499982ef156a326264d3aa96
SHA256: d7f9a6022a7d9c28e8ed48c92e8de8212752ef4aff5458b961960b2fc398eb61
SHA512: 33a0160d47972f68704cfe784df23072f3328e68a0b88edb47274fb2aa38f68b696fd95cc1dd46da7ca9f2e09ce8d0eba7c6ad2eb1a6ff9ba94823d39b7602ba
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