How to Install and Uninstall cpp Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: May 21,2024

1. Install "cpp" package

This is a short guide on how to install cpp on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

Please follow the guidance below to uninstall cpp on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the cpp package on Ubuntu 22.10 (Kinetic Kudu)

Package: cpp
Architecture: amd64
Version: 4:12.2.0-1ubuntu1
Multi-Arch: allowed
Priority: optional
Section: interpreters
Source: gcc-defaults (1.201ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Depends: cpp-12 (>= 12.2.0-1~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Filename: pool/main/g/gcc-defaults/cpp_12.2.0-1ubuntu1_amd64.deb
Size: 27314
MD5sum: 2083a3a4294e9e3d9868ee1483ebf5d1
SHA1: 6405bd636b33926cf46fe72e0be4b8248e148dd9
SHA256: 581c2767aad2781582c24fe522bd27f1fd2854a00e4411033e037e389f9ce2eb
SHA512: 02577a61b190a823387e3b15343bd08d8798e2ccfdbd9cb4a2d7bd1f09a3534f2485a26494bdca0c45aafeebccce2577b240049d9ba74fe71ea549234dad8999
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