How to Install and Uninstall g++-9-riscv64-linux-gnu Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 17,2024

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

Please follow the guidelines below to install g++-9-riscv64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat)

$ 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 24.04 LTS (Noble Numbat):

$ 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 24.04 LTS (Noble Numbat)

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.5.0-5ubuntu1cross1
Built-Using: gcc-9 (= 9.5.0-5ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (27ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20391
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.5.0-5ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.5.0-5ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+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-5ubuntu1cross1_amd64.deb
Size: 7678858
MD5sum: 7b92561ec9d80803457aa1785e398f7f
SHA1: d60e2e81fa5f951f3408eb1e04adc4c0f4349fa8
SHA256: 8c2e6f79f9d781611bfa43c55cd19e955d7c5c02e6793b5e4161a499872a8ff9
SHA512: 7f5dd9acd01edb8f3b27003a3dfc13792369cfe7b296dbc2a022325d212a15ded9d90052b5d9b4385c2d945ec7b40e146af21fccf4250947c18badf9e08781fa
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2