How to Install and Uninstall cpp Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 18,2024

1. Install "cpp" package

Here is a brief guide to show you how to install cpp on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

Learn how to uninstall cpp on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the cpp package on Ubuntu 20.04 LTS (Focal Fossa)

Package: cpp
Architecture: amd64
Version: 4:9.3.0-1ubuntu2
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: gcc-defaults (1.185.1ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 64
Depends: cpp-9 (>= 9.3.0-3~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_9.3.0-1ubuntu2_amd64.deb
Size: 27588
MD5sum: 4998ce4c28f43d1ab62ae6b7372893a4
SHA1: 1c18fb49ae90777bba93ba40d4d8cfda3e6f5662
SHA256: 6a29410b6f9a6f1f6b3fe93d0b994e56293126962950bb1c9bbf0a8909044b03
Description: GNU C preprocessor (cpp)
Description-md5: aa450f6a454bdd6b0d8d9862a9240255
Task: ubuntu-desktop-minimal, ubuntu-desktop, 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