How to Install and Uninstall g++-9-riscv64-linux-gnu Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: November 24,2024

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

In this section, we are going to explain the necessary steps to install g++-9-riscv64-linux-gnu on Ubuntu 23.10 (Mantic Minotaur)

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

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

Please follow the step by step instructions below to uninstall g++-9-riscv64-linux-gnu on Ubuntu 23.10 (Mantic Minotaur):

$ 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 23.10 (Mantic Minotaur)

Package: g++-9-riscv64-linux-gnu
Architecture: amd64
Version: 9.5.0-3ubuntu1cross1
Built-Using: gcc-9 (= 9.5.0-3ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross-ports (26ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20396
Provides: c++-compiler-riscv64-linux-gnu
Depends: gcc-9-riscv64-linux-gnu-base (= 9.5.0-3ubuntu1cross1), gcc-9-riscv64-linux-gnu (= 9.5.0-3ubuntu1cross1), libstdc++-9-dev-riscv64-cross (>= 8), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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.5.0-3ubuntu1cross1_amd64.deb
Size: 7681220
MD5sum: a9537b4d2fbc88607264e18e626948b0
SHA1: 961e8373fdd60ab0f936d3b218e60b38de38d94e
SHA256: e01b963e30fdba029de2d10d2057e713d7c24b9c92776a9234c43be20c272df7
SHA512: ac18a14fe7c58e650303ab48a553473e98722f2630737b0857c7306482511a44a56c76e5c16467674f9404858052ee3ba7a6d362d1d8043798044306954c747a
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler (cross compiler for riscv64 architecture)
Description-md5: 3c417007b0cbe0fdbdbd2d7eb5e639b2