How to Install and Uninstall gcc-riscv64-unknown-elf Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "gcc-riscv64-unknown-elf" package

In this section, we are going to explain the necessary steps to install gcc-riscv64-unknown-elf on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gcc-riscv64-unknown-elf

2. Uninstall "gcc-riscv64-unknown-elf" package

This tutorial shows how to uninstall gcc-riscv64-unknown-elf on Debian 12 (Bookworm):

$ sudo apt remove gcc-riscv64-unknown-elf $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-riscv64-unknown-elf package on Debian 12 (Bookworm)

Package: gcc-riscv64-unknown-elf
Source: gcc-riscv64-unknown-elf (11)
Version: 12.2.0-14+11+b1
Installed-Size: 192212
Maintainer: Keith Packard
Architecture: amd64
Depends: 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), zlib1g (>= 1:1.1.4), binutils-riscv64-unknown-elf (>= 2.38.90)
Description: GCC cross compiler for Risc-V processors
Description-md5: 22d1d281b0eb3607c6e99a1feb5786f1
Homepage: http://gcc.gnu.org/
Built-Using: gcc-12 (= 12.2.0-14)
Section: devel
Priority: optional
Filename: pool/main/g/gcc-riscv64-unknown-elf/gcc-riscv64-unknown-elf_12.2.0-14+11+b1_amd64.deb
Size: 36673948
MD5sum: ac215f32fc9137b42ad965c9607eb43f
SHA256: 416dfebaccba00f031e87ee7eb361af3043b4d221c940e481d290488caef7255