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

Last updated: May 20,2024

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

Please follow the guidance below to install libstdc++-11-dev on Debian 12 (Bookworm)

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

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

This tutorial shows how to uninstall libstdc++-11-dev on Debian 12 (Bookworm):

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

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

Package: libstdc++-11-dev
Source: gcc-11
Version: 11.3.0-12
Installed-Size: 18642
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: libstdc++-dev
Depends: gcc-11-base (= 11.3.0-12), libgcc-11-dev (= 11.3.0-12), libstdc++6 (>= 11.3.0-12), libc6-dev (>= 2.23-1~)
Suggests: libstdc++-11-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-11/libstdc++-11-dev_11.3.0-12_amd64.deb
Size: 1971120
MD5sum: 6b811cd23353f926dd73923d1dafc9da
SHA256: 9db1a0a4f4db845191380e25ce7d8669ee4785e24e9550c2fcd79d010ea2d513