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

Last updated: December 23,2024

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

This guide let you learn how to install gcc-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This is a short guide on how to uninstall gcc-riscv64-linux-gnu on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: gcc-riscv64-linux-gnu
Architecture: amd64
Version: 4:7.4.0-1ubuntu1.3
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.176ubuntu1.3)
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:7.4.0-1ubuntu1.3), gcc-7-riscv64-linux-gnu (>= 7.4.0-1~)
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_7.4.0-1ubuntu1.3_amd64.deb
Size: 1400
MD5sum: 577a79a74e5ab53f0a136ad605d2c2e4
SHA1: 70de3a21b53e2f57d43ae73c4fc03d86e1e58c4b
SHA256: 070cf1acc11e5743fc104199bf791543f8d2e379f5f8ad777573a5d89d727c6c
SHA512: 4609eb15d8c93c9467d61234d7ec91655ceb9d24de971a8062e9f3985485e273313a3c66b2743b4bfab0f6fd4d949e89ab1e922b594a52c93c99ceb309a06789
Description: GNU C compiler for the riscv64 architecture
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9

Package: gcc-riscv64-linux-gnu
Architecture: amd64
Version: 4:7.3.0-3ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.176ubuntu1)
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:7.3.0-3ubuntu1), gcc-7-riscv64-linux-gnu (>= 7.3.0-12~)
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_7.3.0-3ubuntu1_amd64.deb
Size: 1400
MD5sum: a0a6b8d9c4f09f417a87709522da492d
SHA1: 567a91a2d3461f3a9442e0ab6c5924edd463c6df
SHA256: 3cdca8c2637370ee6dceef98b5621547500b537b6a178ce4371140a293434dfa
Description: GNU C compiler for the riscv64 architecture
Description-md5: 076e3ddf958518fce5f91a3ca856f2b9