How To Install lib64stdc++-10-dev-x32-cross on Ubuntu 20.04

In this tutorial we learn how to install lib64stdc++-10-dev-x32-cross on Ubuntu 20.04. lib64stdc++-10-dev-x32-cross is GNU Standard C++ Library v3 (development files) (x32) GNU Standard C++ Library v3 (development files) (x32) GNU Standard C++ Library v3 (development files) (x32)

Introduction

In this tutorial we learn how to install lib64stdc++-10-dev-x32-cross on Ubuntu 20.04.

What is lib64stdc++-10-dev-x32-cross

lib64stdc++-10-dev-x32-cross is:

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.

This package contains files for x32 architecture, for use in cross-compile environment.

Package: lib64stdc++-10-dev-x32-cross Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: optional Section: universe/devel Source: gcc-10-cross-ports (5ubuntu2) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 12432 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), lib64gcc-10-dev-x32-cross (= 10.2.0-5ubuntu1~20.04cross1), lib64stdc++6-x32-cross (>= 10.2.0-5ubuntu1~20.04cross1), libstdc++-10-dev-x32-cross (= 10.2.0-5ubuntu1~20.04cross1) Filename: pool/universe/g/gcc-10-cross-ports/lib64stdc++-10-dev-x32-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 683908 MD5sum: 34a0b48d362a5a058201279d821e8795 SHA1: 2737251d2b6f164787dbee7d4b610084782cf421 SHA256: c1de90ac52f01fa2d2510cc67e65b90053f2d590e880a31e356af5d96de47113 SHA512: 96649fed7da3e4ccd2b4bd228b691f01a1672e04ad4ebeba67bd90b2d028a433d521b4c561da3e895146ee71f7165c4803f974d7e669c9e8bbac9f048bc92dde Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (development files) (x32) 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.

This package contains files for x32 architecture, for use in cross-compile environment.

Package: lib64stdc++-10-dev-x32-cross Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: optional Section: universe/devel Source: gcc-10-cross-ports (5ubuntu1) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 12429 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), lib64gcc-10-dev-x32-cross (= 10-20200411-0ubuntu1cross1), lib64stdc++6-x32-cross (>= 10-20200411-0ubuntu1cross1), libstdc++-10-dev-x32-cross (= 10-20200411-0ubuntu1cross1) Filename: pool/universe/g/gcc-10-cross-ports/lib64stdc++-10-dev-x32-cross_10-20200411-0ubuntu1cross1_all.deb Size: 682412 MD5sum: c2d9eca2a5a6a4e1b779b6a554e21d17 SHA1: 117abd57e2dd9dd5a24a46fd7df27126bec07785 SHA256: 3f3fe9c541397a4cfa21d211e7b06ce0b8f050937b2355c886e9ac97e3840303 Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (development files) (x32) 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.

This package contains files for x32 architecture, for use in cross-compile environment.

There are three methods to install lib64stdc++-10-dev-x32-cross 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 lib64stdc++-10-dev-x32-cross Using apt-get

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

sudo apt-get update

After updating apt database, We can install lib64stdc++-10-dev-x32-cross using apt-get by running the following command:

sudo apt-get -y install lib64stdc++-10-dev-x32-cross

Install lib64stdc++-10-dev-x32-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lib64stdc++-10-dev-x32-cross using apt by running the following command:

sudo apt -y install lib64stdc++-10-dev-x32-cross

Install lib64stdc++-10-dev-x32-cross 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 lib64stdc++-10-dev-x32-cross using aptitude by running the following command:

sudo aptitude -y install lib64stdc++-10-dev-x32-cross

How To Uninstall lib64stdc++-10-dev-x32-cross on Ubuntu 20.04

To uninstall only the lib64stdc++-10-dev-x32-cross package we can use the following command:

sudo apt-get remove lib64stdc++-10-dev-x32-cross

Uninstall lib64stdc++-10-dev-x32-cross And Its Dependencies

To uninstall lib64stdc++-10-dev-x32-cross and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove lib64stdc++-10-dev-x32-cross

Remove lib64stdc++-10-dev-x32-cross Configurations and Data

To remove lib64stdc++-10-dev-x32-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge lib64stdc++-10-dev-x32-cross

Remove lib64stdc++-10-dev-x32-cross configuration, data, and all of its dependencies

We can use the following command to remove lib64stdc++-10-dev-x32-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lib64stdc++-10-dev-x32-cross

References

Summary

In this tutorial we learn how to install lib64stdc++-10-dev-x32-cross package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.