How to Install and Uninstall g++-9-riscv64-linux-gnu Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "g++-9-riscv64-linux-gnu" package

This guide covers the steps necessary to install g++-9-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install g++-9-riscv64-linux-gnu

2. Uninstall "g++-9-riscv64-linux-gnu" package

This tutorial shows how to uninstall g++-9-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the g++-9-riscv64-linux-gnu package on Ubuntu 20.04 LTS (Focal Fossa)

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.4.0-1ubuntu1~20.04cross1
Built-Using: gcc-9 (= 9.4.0-1ubuntu1~20.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (18ubuntu5)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20357
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.4.0-1ubuntu1~20.04cross1), gcc-9-riscv64-linux-gnu (= 9.4.0-1ubuntu1~20.04cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9-cross-ports/g++-9-riscv64-linux-gnu_9.4.0-1ubuntu1~20.04cross1_amd64.deb
Size: 7228132
MD5sum: bc92e3ec2067ddde466359724c7752cb
SHA1: 28a64784cffd4078b1672c44940a853998258fad
SHA256: 779af17e09a68bfa671ad582a905cc0d5a26db50aff4c25ae5effa84c6ca1914
SHA512: 1f81bac5496af625730d5b533a31f0c56a1fed4e89ed42ba1a45bc23b65e62662ce96f1799c74659f66754ecac13624c4a10c98fd29916923a552894b7c9db1c
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.3.0-10ubuntu1cross1
Built-Using: gcc-9 (= 9.3.0-10ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (18ubuntu3)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20329
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.3.0-10ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.3.0-10ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9-cross-ports/g++-9-riscv64-linux-gnu_9.3.0-10ubuntu1cross1_amd64.deb
Size: 7208808
MD5sum: 97961113e5f866272c36285ecf4bd66c
SHA1: 000f38da5c60e6656935bf021391f60343d2cd37
SHA256: ec022dd6e4dbfcbfb53acbdc2e8035c0ba3c94a88d52d7a2cc3db2e697c96054
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2