How to Install and Uninstall cpp Package on Debian 12 (Bookworm)

Last updated: May 17,2024

1. Install "cpp" package

Learn how to install cpp on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install cpp

2. Uninstall "cpp" package

Please follow the guidance below to uninstall cpp on Debian 12 (Bookworm):

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

3. Information about the cpp package on Debian 12 (Bookworm)

Package: cpp
Source: gcc-defaults (1.203)
Version: 4:12.2.0-3
Installed-Size: 30
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: cpp-12 (>= 12.2.0-1~)
Suggests: cpp-doc
Conflicts: cpp-doc (<< 1:2.95.3)
Description: GNU C preprocessor (cpp)
Description-md5: aa450f6a454bdd6b0d8d9862a9240255
Multi-Arch: allowed
Build-Essential: yes
Tag: devel::lang:c, devel::library, implemented-in::c,
interface::commandline, role::devel-lib, role::dummy,
role::metapackage, role::program, scope::utility, suite::gnu,
works-with::software:source
Section: interpreters
Priority: optional
Filename: pool/main/g/gcc-defaults/cpp_12.2.0-3_amd64.deb
Size: 6836
MD5sum: f7f274e4919114c6630316ce2821745a
SHA256: a63db920f7aa1857a57beab185423deffb6111fa09437a99bbb4ef724fb7ba78