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

Last updated: December 23,2024

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

This guide let you learn how to install g++-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

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

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

In this section, we are going to explain the necessary steps to uninstall g++-riscv64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:9.3.0-1ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.185ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp-riscv64-linux-gnu (= 4:9.3.0-1ubuntu2), gcc-riscv64-linux-gnu (= 4:9.3.0-1ubuntu2), g++-9-riscv64-linux-gnu (>= 9.3.0-3~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_9.3.0-1ubuntu2_amd64.deb
Size: 1128
MD5sum: 394bca96759cf4651dadd1580bfe9a1c
SHA1: 3cf86b71688f5525b717fe15bda6d13df816a722
SHA256: 2d9473199f78d295d828363e3d186fa2e87ec7b1612fdb9f654224685b62bb12
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c