How to Install and Uninstall g++-riscv64-linux-gnu Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 26,2024
Notice
You can also install and uninstall the g++-riscv64-linux-gnu on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "g++-riscv64-linux-gnu" package
This is a short guide on how to install g++-riscv64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
g++-riscv64-linux-gnu
Copied
2. Uninstall "g++-riscv64-linux-gnu" package
This tutorial shows how to uninstall g++-riscv64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
g++-riscv64-linux-gnu
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-riscv64-linux-gnu package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: g++-riscv64-linux-gnu
Architecture: amd64
Version: 4:11.2.0--1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.191ubuntu1)
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:11.2.0--1ubuntu1), gcc-riscv64-linux-gnu (= 4:11.2.0--1ubuntu1), g++-11-riscv64-linux-gnu (>= 11.2.0-1~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_11.2.0--1ubuntu1_amd64.deb
Size: 938
MD5sum: ec3b6ec17176395c108b3502ff673876
SHA1: df03fc4481e071bab3e2d666995d3480c27c5904
SHA256: 868d5bb0728c985628125797c0bb3535b0933d83dfb4f2eff2292a8ffca6e021
SHA512: 6a54a2a5a4e3ecd235f865222340247e5b4574670bf5dbaf9635a7ba617f8e7cd9cd0c6bd932d1b359978668e75e1693125b7115cb621bc9bc3a663e93e3f183
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c
Architecture: amd64
Version: 4:11.2.0--1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults-ports (1.191ubuntu1)
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:11.2.0--1ubuntu1), gcc-riscv64-linux-gnu (= 4:11.2.0--1ubuntu1), g++-11-riscv64-linux-gnu (>= 11.2.0-1~)
Filename: pool/universe/g/gcc-defaults-ports/g++-riscv64-linux-gnu_11.2.0--1ubuntu1_amd64.deb
Size: 938
MD5sum: ec3b6ec17176395c108b3502ff673876
SHA1: df03fc4481e071bab3e2d666995d3480c27c5904
SHA256: 868d5bb0728c985628125797c0bb3535b0933d83dfb4f2eff2292a8ffca6e021
SHA512: 6a54a2a5a4e3ecd235f865222340247e5b4574670bf5dbaf9635a7ba617f8e7cd9cd0c6bd932d1b359978668e75e1693125b7115cb621bc9bc3a663e93e3f183
Description: GNU C++ compiler for the riscv64 architecture
Description-md5: ebbf506aca8c79a0d53f2d5b1879a38c