How to Install and Uninstall gcc-riscv64-linux-gnu Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

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

Please follow the instructions below to install gcc-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

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

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

Please follow the steps below to uninstall gcc-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the gcc-riscv64-linux-gnu package on Ubuntu 20.10 (Groovy Gorilla)

Package: gcc-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.189ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Depends: cpp-riscv64-linux-gnu (= 4:10.2.0-1ubuntu1), gcc-10-riscv64-linux-gnu (>= 10.2.0-8~)
Recommends: libc6-dev-riscv64-cross | libc-dev-riscv64-cross
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-riscv64-linux-gnu, gcc-doc
Filename: pool/universe/g/gcc-defaults-ports/gcc-riscv64-linux-gnu_10.2.0-1ubuntu1_amd64.deb
Size: 1420
MD5sum: 541ddfa6433e3090645ba601a2d579d6
SHA1: 23b54000a91457720d3bed89b3a859a140374f9f
SHA256: fdbe3a9b8b99b308bab13075561fe08190d192070cca4423a618f12a3b3a7c2c
SHA512: 1cd93417cafe2ef4c6d2f933171adfeb5b16ed381b775dd049b3e5890a1cb9f93bdd6bf063a1514c01bc356802318e7d6e10f6b17aa4d932531965371d1aaffa
Description-en: GNU C compiler for the riscv64 architecture
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C cross-compiler
for the riscv64 architecture.
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9