How to Install and Uninstall libstdc++-9-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 13,2024

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

Please follow the guidance below to install libstdc++-9-dev on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the steps below to uninstall libstdc++-9-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libstdc++-9-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libstdc++-9-dev
Architecture: amd64
Version: 9.4.0-1ubuntu1~20.04.2
Multi-Arch: same
Priority: optional
Build-Essential: yes
Section: libdevel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17645
Provides: libstdc++-dev
Depends: gcc-9-base (= 9.4.0-1ubuntu1~20.04.2), libgcc-9-dev (= 9.4.0-1ubuntu1~20.04.2), libstdc++6 (>= 9.4.0-1ubuntu1~20.04.2), 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/main/g/gcc-9/libstdc++-9-dev_9.4.0-1ubuntu1~20.04.2_amd64.deb
Size: 1722156
MD5sum: 89724ddd5690467d450b637b86eb49ba
SHA1: bdcd6f04a2aa08f5b61882b15267c88bdd402efe
SHA256: e8c637e8f5a87f05b3f1dad0e020cc3763c384f5bb0fc159f69277645a2444df
SHA512: 4062f88918ec6b79984596ab1caee99523f71e4a289528e8b3f69ced5135af48ceb5e526c8bf66f06e5a944e9d0b31c6680b6336536ddb0f45756f795d0e5a96
Homepage: http://gcc.gnu.org/
Description: GNU Standard C++ Library v3 (development files)
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e
Task: ubuntu-mate-core, ubuntu-mate-desktop

Package: libstdc++-9-dev
Architecture: amd64
Version: 9.3.0-10ubuntu2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17624
Provides: libstdc++-dev
Depends: gcc-9-base (= 9.3.0-10ubuntu2), libgcc-9-dev (= 9.3.0-10ubuntu2), libstdc++6 (>= 9.3.0-10ubuntu2), 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/main/g/gcc-9/libstdc++-9-dev_9.3.0-10ubuntu2_amd64.deb
Size: 1711276
MD5sum: 0a592bc6b46da6d7230616515ac6e290
SHA1: 5dc5045c7ffcb438c1e9f48008fd93362f4b7f57
SHA256: 11196f4a1beb5ea0399052227aafe4c341c8de3602698b572333acee15f0088c
Homepage: http://gcc.gnu.org/
Description: GNU Standard C++ Library v3 (development files)
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e
Task: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes