How to Install and Uninstall cpp Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "cpp" package

Please follow the guidance below to install cpp on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

In this section, we are going to explain the necessary steps to uninstall cpp on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cpp $ sudo apt autoclean && sudo apt autoremove

3. Information about the cpp package on Ubuntu 21.04 (Hirsute Hippo)

Package: cpp
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: cpp-10 (>= 10.3.0-1~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_10.3.0-1ubuntu1_amd64.deb
Size: 27672
MD5sum: 3dcb59f3ae3ee0becd69c4fcf442b32a
SHA1: f1eaf40105f59fa4e8825738f3e62ed9eecfafc7
SHA256: a126e40052e0aa9483df1d7f51d96f5adcf776cf333d06beda304010d8f0fc90
SHA512: 9392bdcccca1a9022142c4c6a22139ca822b48634c7ffb73be839853acb00e4362c8d40c9c5bf949bde0c8ae8d4d4b55664fa1d5a4e0b537058a724eab4b9323
Description-en: GNU C preprocessor (cpp)
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 compiler.
.
This is a dependency package providing the default GNU C preprocessor.
Description-md5: aa450f6a454bdd6b0d8d9862a9240255
Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi
Build-Essential: yes