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

Last updated: November 22,2024

1. Install "gcc-12-riscv64-linux-gnu" package

Here is a brief guide to show you how to install gcc-12-riscv64-linux-gnu on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gcc-12-riscv64-linux-gnu

2. Uninstall "gcc-12-riscv64-linux-gnu" package

This is a short guide on how to uninstall gcc-12-riscv64-linux-gnu on Debian 12 (Bookworm):

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

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

Package: gcc-12-riscv64-linux-gnu
Source: gcc-12-cross-ports (12)
Version: 12.2.0-13cross1
Installed-Size: 46325
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: cpp-12-riscv64-linux-gnu (<< 7.1.1-8)
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-12-riscv64-linux-gnu (= 12.2.0-13cross1), gcc-12-riscv64-linux-gnu-base (= 12.2.0-13cross1), libcc1-0 (>= 12), binutils-riscv64-linux-gnu (>= 2.39.90.20230104), libgcc-12-dev-riscv64-cross (>= 12.2.0-13cross1), libc6 (>= 2.36), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.23-1~)
Suggests: gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Conflicts: gcc-multilib
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2
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/gcc-12-riscv64-linux-gnu_12.2.0-13cross1_amd64.deb
Size: 15278256
MD5sum: 6b5ac8377123feff65033d9cfad8058e
SHA256: 54041ac36e511e11caf83b93671fb538394a15e97247cbe9f26123ad71d2beba