How to Install and Uninstall cpp Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "cpp" package

In this section, we are going to explain the necessary steps to install cpp on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

This tutorial shows how to uninstall cpp on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the cpp package on Ubuntu 20.10 (Groovy Gorilla)

Package: cpp
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: gcc-defaults (1.189ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: cpp-10 (>= 10.2.0-8~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_10.2.0-1ubuntu1_amd64.deb
Size: 27664
MD5sum: 5d1b343536104926382ebcae77bb98d6
SHA1: b6cbed39606f4690b6e6b6e9548f38cd612b80a7
SHA256: e37982bd90f70e5266196bdf1f94cb576a431184f47a70ce9373aaf89c97f44b
SHA512: 0d97baad2b2a468da2f9f57a351669aab9927fdebca3e390c4c2bfc0983b94a07aa53e8fff7dff3f743096cc98f84e2dd15e3bae1f9ca2d689dad0679df30de6
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
Build-Essential: yes