How to Install and Uninstall libstdc++-5-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

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

This guide covers the steps necessary to install libstdc++-5-dev on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the instructions below to uninstall libstdc++-5-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libstdc++-5-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libstdc++-5-dev
Architecture: amd64
Version: 5.5.0-12ubuntu1
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14901
Provides: libstdc++-dev
Depends: gcc-5-base (= 5.5.0-12ubuntu1), libgcc-5-dev (= 5.5.0-12ubuntu1), libstdc++6 (>= 5.5.0-12ubuntu1), 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/universe/g/gcc-5/libstdc++-5-dev_5.5.0-12ubuntu1_amd64.deb
Size: 1414684
MD5sum: 31976f1ca47a59f1f2418b22c1acc2c2
SHA1: c9cb5e04d7fadee041218053f8b846f2b57bdb80
SHA256: ca8d1c437ed02f3a4301472a18e036358902fa83d594668c7b45777d4eb718f2
Homepage: http://gcc.gnu.org/
Description: GNU Standard C++ Library v3 (development files)
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e