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

Last updated: May 20,2024

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

Please follow the step by step instructions below to install g++-11-riscv64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat)

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

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

Please follow the steps below to uninstall g++-11-riscv64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the g++-11-riscv64-linux-gnu package on Ubuntu 24.04 LTS (Noble Numbat)

Package: g++-11-riscv64-linux-gnu
Architecture: amd64
Version: 11.4.0-5ubuntu1cross1
Built-Using: gcc-11 (= 11.4.0-5ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-11-cross-ports (18ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24230
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-11-riscv64-linux-gnu-base (= 11.4.0-5ubuntu1cross1), gcc-11-riscv64-linux-gnu (= 11.4.0-5ubuntu1cross1), libstdc++-11-dev-riscv64-cross (>= 11), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: gcc-11-doc (>= 11)
Filename: pool/universe/g/gcc-11-cross-ports/g++-11-riscv64-linux-gnu_11.4.0-5ubuntu1cross1_amd64.deb
Size: 9070506
MD5sum: 21286d2845212a8c9c79f0f73365ae7e
SHA1: cc3d767328216493ee32f4b4613c43027fdd6094
SHA256: f5d07432cece4a4c8523c4a052de30684775ac453fcd21536249ef23d3c78266
SHA512: d814980fca4aa664692c2dda48e8ff8822f6f25e1a9fc1bf638aff52e59196e061525371d6be5f8312044d17c652865e5db5b0aebc331397ad5640d563922df6
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2