How To Install libx32stdc++6 on Ubuntu 20.04

In this tutorial we learn how to install libx32stdc++6 on Ubuntu 20.04. libx32stdc++6 is GNU Standard C++ Library v3 (x32) GNU Standard C++ Library v3 (x32)

Introduction

In this tutorial we learn how to install libx32stdc++6 on Ubuntu 20.04.

What is libx32stdc++6

libx32stdc++6 is:

This package contains an additional runtime library for C++ programs built with the GNU compiler.

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.

Package: libx32stdc++6 Architecture: amd64 Version: 10-20200411-0ubuntu1 Priority: optional Section: libs 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: 2131 Depends: gcc-10-base (= 10-20200411-0ubuntu1), libx32gcc1 (>= 10-20200411-0ubuntu1), libc6-x32 (>= 2.18), libx32gcc-s1 (>= 4.2) Filename: pool/main/g/gcc-10/libx32stdc++6_10-20200411-0ubuntu1_amd64.deb Size: 486364 MD5sum: 13535f43a5ac9319297fd63908f5a496 SHA1: 713af26ece572310d58cce6d69d301d2d1bcd9a0 SHA256: 15363193dad2728616bc5069bb69876402fa3a7c01f02d18a898d416b0d50551 Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (x32) This package contains an additional runtime library for C++ programs built with the GNU compiler.

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.

There are three methods to install libx32stdc++6 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 libx32stdc++6 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libx32stdc++6 using apt-get by running the following command:

sudo apt-get -y install libx32stdc++6

Install libx32stdc++6 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libx32stdc++6 using apt by running the following command:

sudo apt -y install libx32stdc++6

Install libx32stdc++6 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 libx32stdc++6 using aptitude by running the following command:

sudo aptitude -y install libx32stdc++6

How To Uninstall libx32stdc++6 on Ubuntu 20.04

To uninstall only the libx32stdc++6 package we can use the following command:

sudo apt-get remove libx32stdc++6

Uninstall libx32stdc++6 And Its Dependencies

To uninstall libx32stdc++6 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libx32stdc++6

Remove libx32stdc++6 Configurations and Data

To remove libx32stdc++6 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libx32stdc++6

Remove libx32stdc++6 configuration, data, and all of its dependencies

We can use the following command to remove libx32stdc++6 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libx32stdc++6

References

Summary

In this tutorial we learn how to install libx32stdc++6 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.