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

Last updated: May 16,2024

1. Install "libstdc++6" package

This guide covers the steps necessary to install libstdc++6 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libstdc++6

2. Uninstall "libstdc++6" package

Please follow the guidance below to uninstall libstdc++6 on Debian 12 (Bookworm):

$ sudo apt remove libstdc++6 $ sudo apt autoclean && sudo apt autoremove

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

Package: libstdc++6
Source: gcc-12
Version: 12.2.0-14
Installed-Size: 2686
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: libstdc++6-12-dbg (<< 4.9.0-3)
Depends: gcc-12-base (= 12.2.0-14), libc6 (>= 2.36), libgcc-s1 (>= 4.2)
Conflicts: scim (<< 1.4.2-1)
Breaks: gcc-4.3 (<< 4.3.6-1), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)
Description: GNU Standard C++ Library v3
Description-md5: 724ab84919e0e220afb960e36463914d
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/g/gcc-12/libstdc++6_12.2.0-14_amd64.deb
Size: 614004
MD5sum: f027aa0a6fcdd1c58564245045787969
SHA256: 9b1b269020cec6aced3b39f096f7b67edd1f0d4ab24f412cb6506d0800e19cbf