How to Install and Uninstall libstdc++-12-dev Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "libstdc++-12-dev" package

In this section, we are going to explain the necessary steps to install libstdc++-12-dev on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libstdc++-12-dev

2. Uninstall "libstdc++-12-dev" package

This guide covers the steps necessary to uninstall libstdc++-12-dev on Debian 12 (Bookworm):

$ sudo apt remove libstdc++-12-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the libstdc++-12-dev package on Debian 12 (Bookworm)

Package: libstdc++-12-dev
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 19446
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: libstdc++-dev
Depends: gcc-12-base (= 12.2.0-14), libgcc-12-dev (= 12.2.0-14), libstdc++6 (>= 12.2.0-14), libc6-dev (>= 2.23-1~)
Suggests: libstdc++-12-doc
Description: GNU Standard C++ Library v3 (development files)
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Tag: devel::library, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/g/gcc-12/libstdc++-12-dev_12.2.0-14_amd64.deb
Size: 2046372
MD5sum: ebf5cd67cf8a1c4168144ad096723ed0
SHA256: a0f0f3fbeb661d9bda139a54f4bd1c30aa66cd55a8fa0beb0e6bc7946e243ca1