How to Install and Uninstall g++-riscv64-linux-gnu Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 26,2024

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

Here is a brief guide to show you how to install g++-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu)

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

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

Please follow the guidance below to uninstall g++-riscv64-linux-gnu on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the g++-riscv64-linux-gnu package on Ubuntu 22.10 (Kinetic Kudu)

Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:12.2.0-2ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.201ubuntu1)
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:12.2.0-2ubuntu1), gcc-riscv64-linux-gnu (= 4:12.2.0-2ubuntu1), g++-12-riscv64-linux-gnu (>= 12.2.0-1~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_12.2.0-2ubuntu1_amd64.deb
Size: 940
MD5sum: 4766670f02d839a4a65c0bbf148f30ac
SHA1: 9a9ce2ba4fdbf21397c58feee0d863f3554b34d6
SHA256: dcafa2f47b67d4316fed4b268e5c84dcf13c6a0e74a5cba10c70bb34004c2f34
SHA512: c5f3551c02f98ed2f913e76f3f67936169d747ef75cd33c7fff2c2e13afb017a6c30dc217ae22e038a83e1617e1223ee87b9b83620fcb98efaf60de1e20be571
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c