How to Install and Uninstall cpp Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 26,2024

1. Install "cpp" package

Please follow the guidelines below to install cpp on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

This tutorial shows how to uninstall cpp on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the cpp package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: cpp
Architecture: amd64
Version: 4:11.2.0-1ubuntu1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: gcc-defaults (1.193ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: cpp-11 (>= 11.2.0-1~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_11.2.0-1ubuntu1_amd64.deb
Size: 27700
MD5sum: 491b7d4127354574e6ca9751492115d9
SHA1: b3ffd144cae3737311719386fb28bee8cfe526fe
SHA256: 44f881cf66bfaac163a6c45b4bfb5e79a40780b96af78bec6e9c58f973b8d7bd
SHA512: a2f95a0317d97767187909b7860805ddec9b7505cf1d75e8277b8c56d7da489a735b8de69ab3113f1fbc3a807daa7c8a5004d887dbed11aead5ea12fb531f1dc
Description: GNU C preprocessor (cpp)
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