How to Install and Uninstall libstdc++-5-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: September 20,2024

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

Please follow the steps below to install libstdc++-5-dev on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

This guide covers the steps necessary to uninstall libstdc++-5-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libstdc++-5-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libstdc++-5-dev
Architecture: amd64
Version: 5.4.0-6ubuntu1~16.04.12
Multi-Arch: same
Priority: optional
Section: libdevel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15270
Provides: libstdc++-dev
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.12), libgcc-5-dev (= 5.4.0-6ubuntu1~16.04.12), libstdc++6 (>= 5.4.0-6ubuntu1~16.04.12), libc6-dev (>= 2.13-0ubuntu6)
Suggests: libstdc++-5-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-5/libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb
Size: 1427582
MD5sum: bcd617a4aff0a13b75c0e19e646603f8
SHA1: 9b06f43fbfef9e3289e606e5b9e488aba04ee325
SHA256: 3fb712ef39dca80af299dafb9fcd57fc0cec669b06dd1a34ebb1ba74544d8c72
SHA512: 1ea879ba5272688f8d0105e10aef7286518f18f4fa947a55cacc4d4c5243e7876ada16df0cdc4e6c5e685232ff5e18a1a39f7fc34adea0034434f37ae118f120
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
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, ubuntustudio-audio, ubuntukylin-desktop
Build-Essential: yes
Supported: 5y

Package: libstdc++-5-dev
Priority: optional
Section: libdevel
Installed-Size: 15264
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-5
Version: 5.3.1-14ubuntu2
Provides: libstdc++-dev
Depends: gcc-5-base (= 5.3.1-14ubuntu2), libgcc-5-dev (= 5.3.1-14ubuntu2), libstdc++6 (>= 5.3.1-14ubuntu2), libc6-dev (>= 2.13-0ubuntu6)
Suggests: libstdc++-5-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-5/libstdc++-5-dev_5.3.1-14ubuntu2_amd64.deb
Size: 1427312
MD5sum: edbeff3fc211aa2765172d394752c41b
SHA1: 45985d8d907a0eea1fa5b1534fb470d0b93f231e
SHA256: 354581adc08fd4d7cd57f6c03ec127314203c7a7b5301dd4057929c60ff5bd2d
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
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Build-Essential: yes
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb, ubuntustudio-audio, ubuntukylin-desktop