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

Last updated: October 06,2024

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

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

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

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

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.4.0-1ubuntu1cross1
Built-Using: gcc-9 (= 9.4.0-1ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (24ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20353
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.4.0-1ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.4.0-1ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libisl23 (>= 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.4.0-1ubuntu1cross1_amd64.deb
Size: 7227664
MD5sum: 3690bcfb6cd5516ee747a7a68544f03f
SHA1: f2e440b5cae354eae4c4bfc02d3dee8ee7ea032b
SHA256: a0ff52e29149da4801558083b43e32ac545a18d31711477a75094cbd8891a835
SHA512: 3d89314b16fd46a792351e02dfcb3bd6e1362c542753d0b17bcacca8ada7e6b82f821873e692cf2649fc9f83bccb6c78db601f71cec2db7501d8905b285be16e
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