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

Last updated: December 25,2024

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

This tutorial shows how to install g++-riscv64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat)

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

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

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

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

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

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Multi-Arch: foreign
Priority: optional
Section: devel
Source: gcc-defaults (1.214ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp-riscv64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-riscv64-linux-gnu (= 4:13.2.0-7ubuntu1), g++-13-riscv64-linux-gnu (>= 13.2.0-11~)
Breaks: g++ (<< 4:13.2.0-3)
Replaces: g++ (<< 4:13.2.0-3)
Filename: pool/main/g/gcc-defaults/g++-riscv64-linux-gnu_13.2.0-7ubuntu1_amd64.deb
Size: 962
MD5sum: 067a2b459a720e33fb5a642b14fe0f50
SHA1: 533ea4c9b5f8e4e42fb1e4ccd376fcf10667e7fc
SHA256: 9b6b3a2d65981d9418c5e00ce21804db39ac25a22b6c2b57d3a14764b5915ade
SHA512: f8448afaae70d453058e2181a00ace06068b671883e6259a6c7fd66e635601e5772e15ba8b0a88bbc76a2811507926cc5ce308786953da6600f8f5386b0fe04c
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c