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

Last updated: December 24,2024

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

Please follow the instructions below to install g++-12-riscv64-linux-gnu on Debian 12 (Bookworm)

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

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

This guide covers the steps necessary to uninstall g++-12-riscv64-linux-gnu on Debian 12 (Bookworm):

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

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

Package: g++-12-riscv64-linux-gnu
Source: gcc-12-cross-ports (12)
Version: 12.2.0-13cross1
Installed-Size: 25213
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-12-riscv64-linux-gnu-base (= 12.2.0-13cross1), gcc-12-riscv64-linux-gnu (= 12.2.0-13cross1), libstdc++-12-dev-riscv64-cross (>= 12), libc6 (>= 2.36), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: gcc-12-doc (>= 12)
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2
Multi-Arch: foreign
Homepage: http://gcc.gnu.org/
Built-Using: gcc-12 (= 12.2.0-13)
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12-cross-ports/g++-12-riscv64-linux-gnu_12.2.0-13cross1_amd64.deb
Size: 8724104
MD5sum: c81c747452e290c143cc71d25896c12f
SHA256: 5c4856b61ea8cb48eeefb7335092cbaee7e22c98eb05ed1135cbbe851f3a7e05