How To Install libstdc++6-10-dbg on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libstdc++6-10-dbg
on Ubuntu 20.04.
What is libstdc++6-10-dbg
libstdc++6-10-dbg is:
This package contains a debug build of the shared libstdc++ library. The debug symbols for the default build can be found in the libstdc++6-dbgsym package.
Package: libstdc++6-10-dbg Architecture: amd64 Version: 10-20200411-0ubuntu1 Multi-Arch: same Priority: optional Section: universe/debug Source: gcc-10 Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 61032 Depends: gcc-10-base (= 10-20200411-0ubuntu1), libstdc++6 (>= 10-20200411-0ubuntu1), libc6 (>= 2.18), libgcc-s1 (>= 4.2) Recommends: libstdc++-10-dev (= 10-20200411-0ubuntu1) Conflicts: libstdc++5-3.3-dbg, libstdc++5-dbg, libstdc++6-4.0-dbg, libstdc++6-4.1-dbg, libstdc++6-4.2-dbg, libstdc++6-4.3-dbg, libstdc++6-4.4-dbg, libstdc++6-4.5-dbg, libstdc++6-4.6-dbg, libstdc++6-4.7-dbg, libstdc++6-4.8-dbg, libstdc++6-4.9-dbg, libstdc++6-5-dbg, libstdc++6-6-dbg, libstdc++6-7-dbg, libstdc++6-8-dbg, libstdc++6-9-dbg, libstdc++6-dbg Filename: pool/universe/g/gcc-10/libstdc++6-10-dbg_10-20200411-0ubuntu1_amd64.deb Size: 7652116 MD5sum: c268b09023a63eeff1adc1e052c87b0d SHA1: 5a34421ad20176d873fca05c889ebc4251abef4b SHA256: dd32a8162f99806241b71a47cb34ff3fcca91a6e5f15a82b1dcaab8efc6cfbd3 Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (debug build) This package contains a debug build of the shared libstdc++ library. The debug symbols for the default build can be found in the libstdc++6-dbgsym package.
There are three methods to install libstdc++6-10-dbg
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libstdc++6-10-dbg Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libstdc++6-10-dbg
using apt-get
by running the following command:
sudo apt-get -y install libstdc++6-10-dbg
Install libstdc++6-10-dbg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libstdc++6-10-dbg
using apt
by running the following command:
sudo apt -y install libstdc++6-10-dbg
Install libstdc++6-10-dbg Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libstdc++6-10-dbg
using aptitude
by running the following command:
sudo aptitude -y install libstdc++6-10-dbg
How To Uninstall libstdc++6-10-dbg on Ubuntu 20.04
To uninstall only the libstdc++6-10-dbg
package we can use the following command:
sudo apt-get remove libstdc++6-10-dbg
Uninstall libstdc++6-10-dbg And Its Dependencies
To uninstall libstdc++6-10-dbg
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libstdc++6-10-dbg
Remove libstdc++6-10-dbg Configurations and Data
To remove libstdc++6-10-dbg
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libstdc++6-10-dbg
Remove libstdc++6-10-dbg configuration, data, and all of its dependencies
We can use the following command to remove libstdc++6-10-dbg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstdc++6-10-dbg
References
Summary
In this tutorial we learn how to install libstdc++6-10-dbg
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.