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

Last updated: May 08,2024

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

This tutorial shows how to install gcc-9-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla)

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

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

In this section, we are going to explain the necessary steps to uninstall gcc-9-riscv64-linux-gnu on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: gcc-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.3.0-18ubuntu1cross1
Built-Using: gcc-9 (= 9.3.0-18ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (21ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22821
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-9-riscv64-linux-gnu (= 9.3.0-18ubuntu1cross1), gcc-9-riscv64-linux-gnu-base (= 9.3.0-18ubuntu1cross1), libcc1-0 (>= 8), binutils-riscv64-linux-gnu (>= 2.35), libgcc-9-dev-riscv64-cross (>= 9.3.0-18ubuntu1cross1), libc6 (>= 2.15), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-9-doc (>= 8), gcc-9-locales (>= 8)
Conflicts: gcc-multilib
Replaces: cpp-9-riscv64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-9-cross-ports/gcc-9-riscv64-linux-gnu_9.3.0-18ubuntu1cross1_amd64.deb
Size: 7028140
MD5sum: eef3d761e9044006c96077f0373fff7c
SHA1: 544e50d306e404c2a2a38e4cb70015f2e25735d9
SHA256: 0dbae67cd8543c0f399a43807daf4c8285a071694a2c45a65d7c6485439a52a7
SHA512: a67f96495c2219417edeb569cd378d147c3991b1820227e540aab43f3a5464c36a46f6cd24934ce3a08ee0f60756422eb92a6856d3e5165dc06794a48833b39f
Homepage: http://gcc.gnu.org/
Description-en: GNU C compiler (cross compiler for riscv64 architecture)
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This package contains C cross-compiler for riscv64 architecture.
Description-md5: 0d14114bfdde50833447e5afa7c0bea2