How to Install and Uninstall cpp-riscv64-linux-gnu Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "cpp-riscv64-linux-gnu" package

In this section, we are going to explain the necessary steps to install cpp-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cpp-riscv64-linux-gnu

2. Uninstall "cpp-riscv64-linux-gnu" package

This tutorial shows how to uninstall cpp-riscv64-linux-gnu on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cpp-riscv64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the cpp-riscv64-linux-gnu package on Ubuntu 21.04 (Hirsute Hippo)

Package: cpp-riscv64-linux-gnu
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/interpreters
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: 33
Depends: cpp-10-riscv64-linux-gnu (>= 10.3.0-1~)
Suggests: cpp-doc
Filename: pool/universe/g/gcc-defaults-ports/cpp-riscv64-linux-gnu_10.3.0-1ubuntu1_amd64.deb
Size: 3512
MD5sum: c82cfa942e09d3cbd80f0e9c5a02e97e
SHA1: d51e66d2cf8140baeae4014e0ab194fab9289214
SHA256: bf074497d6f4b000b19e980616961441f76c4ac5fdaf7c640887af163d37349f
SHA512: 465e1f7ecfac5a2ae28e8785edd709c269f3b5231304eea274b0403cf6bd372206e7f920d387cb8ee0fd50406d85ed800bd07de9bd818e4434cdea78a161a075
Description-en: GNU C preprocessor (cpp) for the riscv64 architecture
The GNU C preprocessor is a macro processor that is used automatically
by the GNU C compiler to transform programs before actual compilation.
.
This package has been separated from gcc for the benefit of those who
require the preprocessor but not the cross-compiler for riscv64 architecture.
.
This is a dependency package providing the default GNU C preprocessor
for the riscv64 architecture.
Description-md5: 5a307b042c792c9410b683d2235294d2