How to Install and Uninstall gcc-riscv64-linux-gnu Package on Debian 12 (Bookworm)
Last updated: January 10,2025
Notice
You can also install and uninstall the gcc-riscv64-linux-gnu on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "gcc-riscv64-linux-gnu" package
Here is a brief guide to show you how to install gcc-riscv64-linux-gnu on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
gcc-riscv64-linux-gnu
Copied
2. Uninstall "gcc-riscv64-linux-gnu" package
Learn how to uninstall gcc-riscv64-linux-gnu on Debian 12 (Bookworm):
$
sudo apt remove
gcc-riscv64-linux-gnu
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the gcc-riscv64-linux-gnu package on Debian 12 (Bookworm)
Package: gcc-riscv64-linux-gnu
Source: gcc-defaults-ports (1.204)
Version: 4:12.2.0-5
Installed-Size: 25
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: cpp-riscv64-linux-gnu (= 4:12.2.0-5), gcc-12-riscv64-linux-gnu (>= 12.2.0-1~)
Recommends: libc6-dev-riscv64-cross | libc-dev-riscv64-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-riscv64-linux-gnu, gcc-doc
Description: GNU C compiler for the riscv64 architecture
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9
Multi-Arch: foreign
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults-ports/gcc-riscv64-linux-gnu_12.2.0-5_amd64.deb
Size: 1472
MD5sum: 52f9bfc93ae4250709781f043d71c14b
SHA256: b648d78c8e0bc0b36b14ae191fa1054f2ca658d1131ad30eeff14abbef482c7e
Source: gcc-defaults-ports (1.204)
Version: 4:12.2.0-5
Installed-Size: 25
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: cpp-riscv64-linux-gnu (= 4:12.2.0-5), gcc-12-riscv64-linux-gnu (>= 12.2.0-1~)
Recommends: libc6-dev-riscv64-cross | libc-dev-riscv64-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-riscv64-linux-gnu, gcc-doc
Description: GNU C compiler for the riscv64 architecture
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9
Multi-Arch: foreign
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults-ports/gcc-riscv64-linux-gnu_12.2.0-5_amd64.deb
Size: 1472
MD5sum: 52f9bfc93ae4250709781f043d71c14b
SHA256: b648d78c8e0bc0b36b14ae191fa1054f2ca658d1131ad30eeff14abbef482c7e