How to Install and Uninstall g++-9-riscv64-linux-gnu Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: June 04,2024

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

Please follow the guidelines below to install g++-9-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu)

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

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

Here is a brief guide to show you how to uninstall g++-9-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu):

$ 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 22.10 (Kinetic Kudu)

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.5.0-1ubuntu1cross1
Built-Using: gcc-9 (= 9.5.0-1ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (25ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20396
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.5.0-1ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.5.0-1ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg), 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.5.0-1ubuntu1cross1_amd64.deb
Size: 7702130
MD5sum: 6a5329afc0854e055ed110c1faaeab8e
SHA1: f66965f017bc1c28f3eabc2a95dd20aef38d17fd
SHA256: ea544893457d3ba7457657920cbf4764eb46eb3641f5c0f2b6dcf09d57ed8775
SHA512: 45e209ec09b0faf4dbd772f1f693c71cfb961e1264e9a4d6de3e0b787cb081faf3f75a2d8971cc1c902656aca00b1d1dfcf26af1725ef11c49ee51e331b2506b
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2