How to Install and Uninstall cpp Package on Debian 12 (Bookworm)
Last updated: January 24,2025
Notice
You can also install and uninstall the cpp on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "cpp" package
Learn how to install cpp on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
cpp
Copied
2. Uninstall "cpp" package
Please follow the guidance below to uninstall cpp on Debian 12 (Bookworm):
$
sudo apt remove
cpp
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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