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

Last updated: December 23,2024

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

In this section, we are going to explain the necessary steps to install gcc-8-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the steps below to uninstall gcc-8-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: gcc-8-riscv64-linux-gnu
Architecture: amd64
Version: 8.4.0-1ubuntu1~18.04cross1
Built-Using: gcc-8 (= 8.4.0-1ubuntu1~18.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-8-cross-ports (9ubuntu0.5)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19225
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-8-riscv64-linux-gnu (= 8.4.0-1ubuntu1~18.04cross1), gcc-8-riscv64-linux-gnu-base (= 8.4.0-1ubuntu1~18.04cross1), libcc1-0 (>= 8), binutils-riscv64-linux-gnu (>= 2.30), libgcc-8-dev-riscv64-cross (>= 8.4.0-1ubuntu1~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-8-doc (>= 8), gcc-8-locales (>= 8), libgcc1-dbg-riscv64-cross (>= 1:8.4.0-1ubuntu1~18.04cross1), libgomp1-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libitm1-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libatomic1-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libasan5-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), liblsan0-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libtsan0-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libubsan1-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libmpx2-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1), libquadmath0-dbg-riscv64-cross (>= 8.4.0-1ubuntu1~18.04cross1)
Conflicts: gcc-multilib
Replaces: cpp-8-riscv64-linux-gnu (<< 7.1.1-8), gccgo-8 (<< 8.4.0-1ubuntu1~18.04)
Filename: pool/universe/g/gcc-8-cross-ports/gcc-8-riscv64-linux-gnu_8.4.0-1ubuntu1~18.04cross1_amd64.deb
Size: 6394104
MD5sum: 0ff85f15b46421afc14efe9ee6d8c13e
SHA1: fba7d46152a5442cd4d8ec60a8d3a844a10d589a
SHA256: dbe0e31c708e5b459717881af79032a41862c00ef60f0544149f6570c7f26d28
SHA512: 26a70a7bd8ee56a2652f6cb1d802b2f378472d7b4f68d3754100c4b0f95ed6e580c7ad98a368d4a7c4cd6984d5d4e8e1964836a83a891631b40ebf33ecfef75c
Homepage: http://gcc.gnu.org/
Description: GNU C compiler (cross compiler for riscv64 architecture)
Description-md5: 0d14114bfdde50833447e5afa7c0bea2

Package: gcc-8-riscv64-linux-gnu
Architecture: amd64
Version: 8-20180414-1ubuntu2cross1
Built-Using: gcc-8 (= 8-20180414-1ubuntu2)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-8-cross-ports (6ubuntu3)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 19133
Provides: c-compiler-riscv64-linux-gnu
Depends: cpp-8-riscv64-linux-gnu (= 8-20180414-1ubuntu2cross1), gcc-8-riscv64-linux-gnu-base (= 8-20180414-1ubuntu2cross1), libcc1-0 (>= 8), binutils-riscv64-linux-gnu (>= 2.30), libgcc-8-dev-riscv64-cross (>= 8-20180414-1ubuntu2cross1), 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-8-doc (>= 8), gcc-8-locales (>= 8), libgcc1-dbg-riscv64-cross (>= 1:8-20180414-1ubuntu2cross1), libgomp1-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libitm1-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libatomic1-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libasan5-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), liblsan0-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libtsan0-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libubsan1-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libmpx2-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1), libquadmath0-dbg-riscv64-cross (>= 8-20180414-1ubuntu2cross1)
Conflicts: gcc-multilib
Replaces: cpp-8-riscv64-linux-gnu (<< 7.1.1-8), gccgo-8 (<< 8-20180414-1ubuntu2)
Filename: pool/universe/g/gcc-8-cross-ports/gcc-8-riscv64-linux-gnu_8-20180414-1ubuntu2cross1_amd64.deb
Size: 6310928
MD5sum: fd353ff201955c9f6ae050e29c0c0330
SHA1: d69ec7586ff6fcf3ba54edc061f0d472a7c7b65b
SHA256: 6df2d3db3d864f6c1c88eb3d68d8cc28f0a4a85c5e0559347f9b67bea82b4c67
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 608fe6acc9b572d241c5e415eb85b2d6