How to Install and Uninstall gcc-11-riscv64-linux-gnu Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 20,2024

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

Please follow the step by step instructions below to install gcc-11-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo)

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

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

This guide covers the steps necessary to uninstall gcc-11-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-11-riscv64-linux-gnu package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-11-riscv64-linux-gnu
Architecture: amd64
Version: 11.1.0-1ubuntu1~21.04cross1
Built-Using: gcc-11 (= 11.1.0-1ubuntu1~21.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-11-cross-ports (2ubuntu3.1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44317
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-11-riscv64-linux-gnu (= 11.1.0-1ubuntu1~21.04cross1), gcc-11-riscv64-linux-gnu-base (= 11.1.0-1ubuntu1~21.04cross1), libcc1-0 (>= 11), binutils-riscv64-linux-gnu (>= 2.36.1), libgcc-11-dev-riscv64-cross (>= 11.1.0-1ubuntu1~21.04cross1), libc6 (>= 2.33), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-11-doc (>= 11), gcc-11-locales (>= 11)
Conflicts: gcc-multilib
Replaces: cpp-11-riscv64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-11-cross-ports/gcc-11-riscv64-linux-gnu_11.1.0-1ubuntu1~21.04cross1_amd64.deb
Size: 14413416
MD5sum: 5018af3c54b9b9cd4635221e2bd067e7
SHA1: 7250d968c0e0bd0c1aaf4f79ad931f8ed0da3772
SHA256: 0144dff7a0f392365f526cb15f24c37e02afe8b2dd6af5e58d5c684cca28c52e
SHA512: 23e74ccd57c0ae6d77e9f6ec11f47bbae426287cdd9ac874f63876a11f7921af8b5e7f99a3f1caf5ab85bb54cb650ff9e83194703f821236c363e86bc0f90750
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

Package: gcc-11-riscv64-linux-gnu
Architecture: amd64
Version: 11-20210417-1ubuntu1cross1
Built-Using: gcc-11 (= 11-20210417-1ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-11-cross-ports (2ubuntu3)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44288
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-11-riscv64-linux-gnu (= 11-20210417-1ubuntu1cross1), gcc-11-riscv64-linux-gnu-base (= 11-20210417-1ubuntu1cross1), libcc1-0 (>= 11), binutils-riscv64-linux-gnu (>= 2.36.1), libgcc-11-dev-riscv64-cross (>= 11-20210417-1ubuntu1cross1), libc6 (>= 2.33), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-11-doc (>= 11), gcc-11-locales (>= 11)
Conflicts: gcc-multilib
Replaces: cpp-11-riscv64-linux-gnu (<< 7.1.1-8)
Filename: pool/universe/g/gcc-11-cross-ports/gcc-11-riscv64-linux-gnu_11-20210417-1ubuntu1cross1_amd64.deb
Size: 14391524
MD5sum: 602d071be40b24f2a5bee0846ca5a485
SHA1: 263b40036fd3de2daff8d35a107109c2ca638d68
SHA256: bb80165d27d889982bc339647b7462cd2ac3a3fa0ab7d47ade54e99bfe451078
SHA512: afeba64c44a267764e907bf5b125fd67855bfee74e48296a486e85ed867644492adf8c4aecc84d23e9fee337d7b0218e71a8a23539a4eb314a64607bca192260
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