How to Install and Uninstall g++-riscv64-linux-gnu Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

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

This guide let you learn how to install g++-riscv64-linux-gnu on Ubuntu 21.10 (Impish Indri)

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

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

This tutorial shows how to uninstall g++-riscv64-linux-gnu on Ubuntu 21.10 (Impish Indri):

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

3. Information about the g++-riscv64-linux-gnu package on Ubuntu 21.10 (Impish Indri)

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.190ubuntu1)
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:10.3.0-1ubuntu1), gcc-riscv64-linux-gnu (= 4:10.3.0-1ubuntu1), g++-10-riscv64-linux-gnu (>= 10.3.0-1~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_10.3.0-1ubuntu1_amd64.deb
Size: 1132
MD5sum: d91da53c5b1b4ac9dc385b73134b6df0
SHA1: 1450cb060566765c0d734a8adf5c7c12aba0b9bc
SHA256: 5099e034e965f9cf9d58a084a12e79460206f7d1fa17a504906a47b8b808a77a
SHA512: 3d586508b1d25424290ada65188f44e5e90487af658b91f0388d850e5835ecff077b8b3fb9ffe6f6c7b11118fe2281a39e3cc9da33658ac65fde7c0bb05da89e
Description-en: GNU C++ compiler for the riscv64 architecture
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ cross-compiler
for the riscv64 architecture.
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c