How to Install and Uninstall gcc-7-riscv64-linux-gnu Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 01,2024

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

Here is a brief guide to show you how to install gcc-7-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This guide covers the steps necessary to uninstall gcc-7-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the gcc-7-riscv64-linux-gnu package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: gcc-7-riscv64-linux-gnu
Architecture: amd64
Version: 7.5.0-3ubuntu1~18.04cross1
Built-Using: gcc-7 (= 7.5.0-3ubuntu1~18.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-7-cross-ports (17ubuntu0.4)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17548
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-7-riscv64-linux-gnu (= 7.5.0-3ubuntu1~18.04cross1), gcc-7-riscv64-linux-gnu-base (= 7.5.0-3ubuntu1~18.04cross1), libcc1-0 (>= 7), binutils-riscv64-linux-gnu (>= 2.30), libgcc-7-dev-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libc6 (>= 2.15), libgcc1 (>= 1:3.0), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-7-doc (>= 7), gcc-7-locales (>= 7), libgcc1-dbg-riscv64-cross (>= 1:7.5.0-3ubuntu1~18.04cross1), libgomp1-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libitm1-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libatomic1-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libasan4-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), liblsan0-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libtsan0-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libubsan0-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libcilkrts5-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libmpx2-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1), libquadmath0-dbg-riscv64-cross (>= 7.5.0-3ubuntu1~18.04cross1)
Conflicts: gcc-multilib
Replaces: cpp-7-riscv64-linux-gnu (<< 7.1.1-8), gccgo-7 (<< 7.5.0-3ubuntu1~18.04)
Filename: pool/universe/g/gcc-7-cross-ports/gcc-7-riscv64-linux-gnu_7.5.0-3ubuntu1~18.04cross1_amd64.deb
Size: 5895188
MD5sum: 22ee52ad389a0217faaaf3b88efd41c6
SHA1: ce3f36132255de57bd901c3d7f260dc93a3c8dc1
SHA256: fcad89f96300445580e8063a760c11e1bd720b4d435b0bf116e710da357e5603
SHA512: 3c27813396f0777907701d35ae4dce22f6cdf27664f82ce9884437e0fa2edd3cfdf7bab8a5f8436aa94b7e82598a647f0dd585533ce0cef4aa24cf0fcbdb6685
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2

Package: gcc-7-riscv64-linux-gnu
Architecture: amd64
Version: 7.3.0-16ubuntu3cross1
Built-Using: gcc-7 (= 7.3.0-16ubuntu3)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-7-cross-ports (16ubuntu4)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17490
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-7-riscv64-linux-gnu (= 7.3.0-16ubuntu3cross1), gcc-7-riscv64-linux-gnu-base (= 7.3.0-16ubuntu3cross1), libcc1-0 (>= 7), binutils-riscv64-linux-gnu (>= 2.30), libgcc-7-dev-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libc6 (>= 2.15), libgcc1 (>= 1:3.0), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev-riscv64-cross (>= 2.13-0ubuntu6)
Suggests: gcc-7-doc (>= 7), gcc-7-locales (>= 7), libgcc1-dbg-riscv64-cross (>= 1:7.3.0-16ubuntu3cross1), libgomp1-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libitm1-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libatomic1-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libasan4-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), liblsan0-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libtsan0-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libubsan0-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libcilkrts5-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libmpx2-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1), libquadmath0-dbg-riscv64-cross (>= 7.3.0-16ubuntu3cross1)
Conflicts: gcc-multilib
Replaces: cpp-7-riscv64-linux-gnu (<< 7.1.1-8), gccgo-7 (<< 7.3.0-16ubuntu3)
Filename: pool/universe/g/gcc-7-cross-ports/gcc-7-riscv64-linux-gnu_7.3.0-16ubuntu3cross1_amd64.deb
Size: 5857432
MD5sum: f7b5ec1013cf1a31415cb0350bff0c7a
SHA1: dbd72ab684d9385bd5d3f3c0a4c56fe984abdbd2
SHA256: 997e4a1ab8a4cf49b094eebfa6c2351fc72467b03e91ad91c5bcd48ff862e12d
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 608fe6acc9b572d241c5e415eb85b2d6