How to Install and Uninstall libstdc++-9-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 13,2024

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

Please follow the guidance below to install libstdc++-9-dev on Ubuntu 21.10 (Impish Indri)

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

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

Please follow the guidelines below to uninstall libstdc++-9-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libstdc++-9-dev package on Ubuntu 21.10 (Impish Indri)

Package: libstdc++-9-dev
Architecture: amd64
Version: 9.4.0-3ubuntu1
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17424
Provides: libstdc++-dev
Depends: gcc-9-base (= 9.4.0-3ubuntu1), libgcc-9-dev (= 9.4.0-3ubuntu1), libstdc++6 (>= 9.4.0-3ubuntu1), libc6-dev (>= 2.13-0ubuntu6)
Suggests: libstdc++-9-doc
Conflicts: libg++2.8-dev, libg++27-dev, libg++272-dev (<< 2.7.2.8-1), libstdc++2.10-dev (<< 1:2.95.3-2), libstdc++2.8-dev, libstdc++2.9-dev, libstdc++2.9-glibc2.1-dev, libstdc++3.0-dev
Filename: pool/universe/g/gcc-9/libstdc++-9-dev_9.4.0-3ubuntu1_amd64.deb
Size: 1821012
MD5sum: 87b31d07273bf1163305be58e77b9811
SHA1: 3f0e0a8f42e6740149494a8b6cc7c6b6f578eb10
SHA256: e48d5bfbc8ca8336460a6ded5e01a201744134359a1f8f4e1cc8a97a2c86d965
SHA512: 096e7de42a123df204c8a5252b28167ed43f585872241deb29c3c6adfcd68ac8c4924e88309c51e1d8389e16b1e6bc5e3ced648d5264bf7aff0cc8dc3ddbcec7
Homepage: http://gcc.gnu.org/
Description-en: GNU Standard C++ Library v3 (development files)
This package contains the headers and static library files necessary for
building C++ programs which use libstdc++.
.
libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
was included up to g++-2.95. The first version of libstdc++-v3 appeared
in g++-3.0.
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e