How to Install and Uninstall cpp Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 11,2024

1. Install "cpp" package

Please follow the guidelines below to install cpp on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

Here is a brief guide to show you how to uninstall cpp on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the cpp package on Ubuntu 24.04 LTS (Noble Numbat)

Package: cpp
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Multi-Arch: allowed
Priority: optional
Build-Essential: yes
Section: interpreters
Source: gcc-defaults (1.214ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37
Depends: cpp-13 (>= 13.2.0-11~), cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3), gcc (<< 4:13.2.0-3)
Filename: pool/main/g/gcc-defaults/cpp_13.2.0-7ubuntu1_amd64.deb
Size: 22442
MD5sum: f72d46f22f852cf329a19a3b6c0ef7f9
SHA1: c1e8e3ac068ceca2c3c7806d79784af51a088ace
SHA256: b51f8094760f7b41afdcb1fe1b5a57fc64b75a090859918af17450a10f8c7d31
SHA512: 5fcc8f58e4e49b2d280f75671203293d6a6eec996964e01bee9f1ae128adf96ec6b9646146b3e00d478bbcbe5ea43d793aad76c14070bc4d0bf285c89596b3af
Description: GNU C preprocessor (cpp)
Description-md5: aa450f6a454bdd6b0d8d9862a9240255
Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntu-desktop-raspi, kubuntu-desktop, xubuntu-minimal, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop-minimal, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop-minimal, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi, ubuntu-unity-desktop, edubuntu-desktop-gnome-minimal, edubuntu-desktop-gnome-raspi, ubuntucinnamon-desktop-minimal, ubuntucinnamon-desktop-raspi