How to Install and Uninstall gcc-riscv64-unknown-elf Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 05,2024

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

Please follow the step by step instructions below to install gcc-riscv64-unknown-elf on Ubuntu 21.10 (Impish Indri)

$ 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 Ubuntu 21.10 (Impish Indri):

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

3. Information about the gcc-riscv64-unknown-elf package on Ubuntu 21.10 (Impish Indri)

Package: gcc-riscv64-unknown-elf
Architecture: amd64
Version: 10.2.0-0ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Keith Packard
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 200881
Depends: libc6 (>= 2.15), libgcc-s1 (>= 4.2), libgmp10, libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4), binutils-riscv64-unknown-elf
Filename: pool/universe/g/gcc-riscv64-unknown-elf/gcc-riscv64-unknown-elf_10.2.0-0ubuntu1_amd64.deb
Size: 36957872
MD5sum: 469aeae8430394aa1c0fbb3b717a1788
SHA1: 3e7f4a2db477381fec012f97827bb982847b4a67
SHA256: 3385ad3d2e8f9b076fe73a2559393ff34f14c51556ec2f3595f042d6e6e06bfb
SHA512: 6771d97a3b36f7bb08653658f0a2e547155fd374a3bbd1e70a63b9ed7e67544dcd53b3b2dceb0515d76ec8d9af871f8e3010a7be0715d9c0d5c1eebe6acfd119
Homepage: https://github.com/riscv/riscv-gcc
Description-en: GCC compiler for embedded RISC-V chips
Bare metal compiler for embedded RISC-V chips supporting both 64 and
32 bit architectures. This package includes patches for
vendor-specific ISA extensions.
Description-md5: 8c76c86be2969ece060a85d74ea1714d