How To Install libstdc++-9-dev-mipsel-cross on Ubuntu 20.04

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

Introduction

In this tutorial we learn how to install libstdc++-9-dev-mipsel-cross on Ubuntu 20.04.

What is libstdc++-9-dev-mipsel-cross

libstdc++-9-dev-mipsel-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 mipsel architecture, for use in cross-compile environment.

Package: libstdc++-9-dev-mipsel-cross Architecture: all Version: 9.3.0-10ubuntu1cross1 Built-Using: gcc-9 (= 9.3.0-10ubuntu1) Priority: optional Section: universe/devel Source: gcc-9-cross-mipsen (4+c2ubuntu2) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 16718 Provides: libstdc++-dev-mipsel-cross, libstdc++-dev-mipsel-dcv1 Depends: gcc-9-cross-base-mipsen (= 9.3.0-10ubuntu1cross1), libgcc-9-dev-mipsel-cross (= 9.3.0-10ubuntu1cross1), libstdc++6-mipsel-cross (>= 9.3.0-10ubuntu1cross1), libc6-dev-mipsel-cross (>= 2.13-0ubuntu6) Filename: pool/universe/g/gcc-9-cross-mipsen/libstdc++-9-dev-mipsel-cross_9.3.0-10ubuntu1cross1_all.deb Size: 1723708 MD5sum: 8cd3e75aca8e7f8c5657afc4259a288b SHA1: 253f9fbc8a53564e1ff954e83d97103954a9dd4b SHA256: 3f9a3d809450ed562fef7d3300107cfbd9b0ee3642f94cd4e231a97fc9fa846e Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (development files) (mipsel) 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 mipsel architecture, for use in cross-compile environment.

There are three methods to install libstdc++-9-dev-mipsel-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 libstdc++-9-dev-mipsel-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 libstdc++-9-dev-mipsel-cross using apt-get by running the following command:

sudo apt-get -y install libstdc++-9-dev-mipsel-cross

Install libstdc++-9-dev-mipsel-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libstdc++-9-dev-mipsel-cross using apt by running the following command:

sudo apt -y install libstdc++-9-dev-mipsel-cross

Install libstdc++-9-dev-mipsel-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 libstdc++-9-dev-mipsel-cross using aptitude by running the following command:

sudo aptitude -y install libstdc++-9-dev-mipsel-cross

How To Uninstall libstdc++-9-dev-mipsel-cross on Ubuntu 20.04

To uninstall only the libstdc++-9-dev-mipsel-cross package we can use the following command:

sudo apt-get remove libstdc++-9-dev-mipsel-cross

Uninstall libstdc++-9-dev-mipsel-cross And Its Dependencies

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

sudo apt-get -y autoremove libstdc++-9-dev-mipsel-cross

Remove libstdc++-9-dev-mipsel-cross Configurations and Data

To remove libstdc++-9-dev-mipsel-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libstdc++-9-dev-mipsel-cross

Remove libstdc++-9-dev-mipsel-cross configuration, data, and all of its dependencies

We can use the following command to remove libstdc++-9-dev-mipsel-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libstdc++-9-dev-mipsel-cross

References

Summary

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