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

Last updated: May 18,2024

1. Install "cpp-12" package

Please follow the steps below to install cpp-12 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install cpp-12

2. Uninstall "cpp-12" package

This tutorial shows how to uninstall cpp-12 on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: cpp-12
Architecture: amd64
Version: 12.3.0-15ubuntu1
Priority: optional
Section: universe/interpreters
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34589
Depends: gcc-12-base (= 12.3.0-15ubuntu1), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: gcc-12-locales (>= 12), cpp-12-doc (>= 12)
Breaks: hardening-wrapper (<< 2.8+nmu3), libmagics++-dev (<< 2.28.0-4)
Filename: pool/universe/g/gcc-12/cpp-12_12.3.0-15ubuntu1_amd64.deb
Size: 10755306
MD5sum: 4617b35ee21084dd920ec1bf4e0daa18
SHA1: d4f59353b9da7a76d6c87cee38d524982ab61a74
SHA256: 10ab72476523ace106527146fe7893a77934fcae925c8ad76fce330fe4a7418b
SHA512: 262450edf6a00bac90d06bd698b9d2d6baf692f0f561b469c0da4a72839134c5d9287ff3889c7d16e717b8e32a76d25c7ba82a39c4b14be7022cb5e811cba957
Homepage: http://gcc.gnu.org/
Description: GNU C preprocessor
Description-md5: 93a75b5e1f4b43c36eba0239b6fab6a3