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

Last updated: November 26,2024

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

This is a short guide on how to install libstdc++-7-dev on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This tutorial shows how to uninstall libstdc++-7-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: libstdc++-7-dev
Architecture: amd64
Version: 7.5.0-6ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/libdevel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15353
Provides: libstdc++-dev
Depends: gcc-7-base (= 7.5.0-6ubuntu2), libgcc-7-dev (= 7.5.0-6ubuntu2), libstdc++6 (>= 7.5.0-6ubuntu2), libc6-dev (>= 2.13-0ubuntu6)
Suggests: libstdc++-7-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-7/libstdc++-7-dev_7.5.0-6ubuntu2_amd64.deb
Size: 1471088
MD5sum: 4aaa6cd51e575c2b53d826665b2fe905
SHA1: e64cddd02da2b19daacf7eb350f25c4cba0bb1c8
SHA256: b1e9c4a6109258bece8bc6e9e13b1a7d57ffd7caf6ac686616488f122afd996b
Homepage: http://gcc.gnu.org/
Description: GNU Standard C++ Library v3 (development files)
Description-md5: a197f2aec835e5fc6f8f76039d8a7c4e