How to Install and Uninstall g++-riscv64-linux-gnu Package on Debian 12 (Bookworm)

Last updated: November 23,2024

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

This is a short guide on how to install g++-riscv64-linux-gnu on Debian 12 (Bookworm)

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

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

This guide let you learn how to uninstall g++-riscv64-linux-gnu on Debian 12 (Bookworm):

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

3. Information about the g++-riscv64-linux-gnu package on Debian 12 (Bookworm)

Package: g++-riscv64-linux-gnu
Source: gcc-defaults-ports (1.204)
Version: 4:12.2.0-5
Installed-Size: 11
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: cpp-riscv64-linux-gnu (= 4:12.2.0-5), gcc-riscv64-linux-gnu (= 4:12.2.0-5), g++-12-riscv64-linux-gnu (>= 12.2.0-1~)
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c
Multi-Arch: foreign
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults-ports/g++-riscv64-linux-gnu_12.2.0-5_amd64.deb
Size: 1180
MD5sum: 77f8946a717c46a86eb0e7307cf51ee9
SHA256: 1c930e627e663d825ae46d5ac49953e228206cc9863ebe9d79927f29ab762902