How to Install and Uninstall g++-riscv64-linux-gnu Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 18,2024

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

This tutorial shows how to install g++-riscv64-linux-gnu on Ubuntu 23.10 (Mantic Minotaur)

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

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

Please follow the steps below to uninstall g++-riscv64-linux-gnu on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the g++-riscv64-linux-gnu package on Ubuntu 23.10 (Mantic Minotaur)

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:13.2.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.208ubuntu1)
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-1ubuntu1), gcc-riscv64-linux-gnu (= 4:13.2.0-1ubuntu1), g++-13-riscv64-linux-gnu (>= 13.2.0-2~)
Filename: pool/universe/g/gcc-defaults/g++-riscv64-linux-gnu_13.2.0-1ubuntu1_amd64.deb
Size: 938
MD5sum: 7dadb132780beafeb46c5231378295d7
SHA1: 134f77fea41770237f9b09b1711d17919cb604ca
SHA256: 30d72ed2abb38077cb0fb481d1cdf80328290594f36b30f64c16dcc65ff7f798
SHA512: 88c8f259d006bc1e575e6beb89bef6cbc3a888443dc69b37817e2cd8532868f7501911aa2fbd890c8e2e2c3b79f9b49cbf910d921aa8e40eaa54227997a9e3e0
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c