How to Install and Uninstall libstdc++-8-dev Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 19,2024

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

Please follow the guidance below to install libstdc++-8-dev on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

In this section, we are going to explain the necessary steps to uninstall libstdc++-8-dev on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libstdc++-8-dev package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libstdc++-8-dev
Architecture: amd64
Version: 8.5.0-0ubuntu4
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: gcc-8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16272
Provides: libstdc++-dev
Depends: gcc-8-base (= 8.5.0-0ubuntu4), libgcc-8-dev (= 8.5.0-0ubuntu4), libstdc++6 (>= 8.5.0-0ubuntu4), libc6-dev (>= 2.13-0ubuntu6)
Suggests: libstdc++-8-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-8/libstdc++-8-dev_8.5.0-0ubuntu4_amd64.deb
Size: 1649514
MD5sum: afbeeb8b2341d09ce294cf877fd1b6cf
SHA1: c03ac2be821e02d413e562acedddaa14c680ae02
SHA256: 4780fd8a24762965567fe8bb22d55f9620eb455f36817c05f3fd4ac1a22d2a64
SHA512: 2051b05b69fd3bc7dcada1791a77213f737e57c332015e7ccffcc39fdfa9855d50cbf7073ecd05572688147a12f31aeff584287b21aaf8cd9f185b129bd32331
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