How To Install libstdc++6-10-dbg-riscv64-cross on Ubuntu 20.04

In this tutorial we learn how to install libstdc++6-10-dbg-riscv64-cross on Ubuntu 20.04. libstdc++6-10-dbg-riscv64-cross is GNU Standard C++ Library v3 (debug build) (riscv64) GNU Standard C++ Library v3 (debug build) (riscv64) GNU Standard C++ Library v3 (debug build) (riscv64)

Introduction

In this tutorial we learn how to install libstdc++6-10-dbg-riscv64-cross on Ubuntu 20.04.

What is libstdc++6-10-dbg-riscv64-cross

libstdc++6-10-dbg-riscv64-cross 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.

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

Package: libstdc++6-10-dbg-riscv64-cross Architecture: all Version: 10.2.0-5ubuntu1~20.04cross1 Built-Using: gcc-10 (= 10.2.0-5ubuntu1~20.04) Priority: optional Section: universe/debug 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: 98351 Provides: libstdc++6-dbg-riscv64-dcv1 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libstdc++6-riscv64-cross (>= 10.2.0-5ubuntu1~20.04cross1), libc6-riscv64-cross (>= 2.31), libgcc-s1-riscv64-cross (>= 4.2) Recommends: libstdc++-10-dev-riscv64-cross (= 10.2.0-5ubuntu1~20.04cross1) Conflicts: libstdc++5-3.3-dbg-riscv64-cross, libstdc++5-dbg-riscv64-cross, libstdc++6-4.0-dbg-riscv64-cross, libstdc++6-4.1-dbg-riscv64-cross, libstdc++6-4.2-dbg-riscv64-cross, libstdc++6-4.3-dbg-riscv64-cross, libstdc++6-4.4-dbg-riscv64-cross, libstdc++6-4.5-dbg-riscv64-cross, libstdc++6-4.6-dbg-riscv64-cross, libstdc++6-4.7-dbg-riscv64-cross, libstdc++6-4.8-dbg-riscv64-cross, libstdc++6-4.9-dbg-riscv64-cross, libstdc++6-5-dbg-riscv64-cross, libstdc++6-6-dbg-riscv64-cross, libstdc++6-7-dbg-riscv64-cross, libstdc++6-8-dbg-riscv64-cross, libstdc++6-9-dbg-riscv64-cross, libstdc++6-dbg-riscv64-cross Filename: pool/universe/g/gcc-10-cross-ports/libstdc++6-10-dbg-riscv64-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 10341640 MD5sum: a0a66f6d8cca14a4a95bfc1a52370c70 SHA1: 0d01e7ac9d2cf7b7c81573abb24f4e5bd02b0f00 SHA256: 454f54bf40c631a69dbd73e69a757fa28963b93370d8ad5c5ee3223923aa063d SHA512: 62e855b19ddfd5c46c52aad653d8c07b5608e9844fc43e638edfc94b6b24f12d315655bd3f0560ae5936fe4ca74c99e2fc5fa43df41ef6ece6470b8a1ac6e512 Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (debug build) (riscv64) 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.

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

Package: libstdc++6-10-dbg-riscv64-cross Architecture: all Version: 10-20200411-0ubuntu1cross1 Built-Using: gcc-10 (= 10-20200411-0ubuntu1) Priority: optional Section: universe/debug 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: 98344 Provides: libstdc++6-dbg-riscv64-dcv1 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libstdc++6-riscv64-cross (>= 10-20200411-0ubuntu1cross1), libc6-riscv64-cross (>= 2.31), libgcc-s1-riscv64-cross (>= 4.2) Recommends: libstdc++-10-dev-riscv64-cross (= 10-20200411-0ubuntu1cross1) Conflicts: libstdc++5-3.3-dbg-riscv64-cross, libstdc++5-dbg-riscv64-cross, libstdc++6-4.0-dbg-riscv64-cross, libstdc++6-4.1-dbg-riscv64-cross, libstdc++6-4.2-dbg-riscv64-cross, libstdc++6-4.3-dbg-riscv64-cross, libstdc++6-4.4-dbg-riscv64-cross, libstdc++6-4.5-dbg-riscv64-cross, libstdc++6-4.6-dbg-riscv64-cross, libstdc++6-4.7-dbg-riscv64-cross, libstdc++6-4.8-dbg-riscv64-cross, libstdc++6-4.9-dbg-riscv64-cross, libstdc++6-5-dbg-riscv64-cross, libstdc++6-6-dbg-riscv64-cross, libstdc++6-7-dbg-riscv64-cross, libstdc++6-8-dbg-riscv64-cross, libstdc++6-9-dbg-riscv64-cross, libstdc++6-dbg-riscv64-cross Filename: pool/universe/g/gcc-10-cross-ports/libstdc++6-10-dbg-riscv64-cross_10-20200411-0ubuntu1cross1_all.deb Size: 10337720 MD5sum: 5b588e63a87e0b69dd138f28b075be52 SHA1: fd8cf555987cf4323a8b0fb0989f7e4e9e695517 SHA256: 708d4ce8047cccc4060d0b0b5c35336e5869f5b1f5c96f5a9448ec16517cd4d9 Homepage: http://gcc.gnu.org/ Description-en: GNU Standard C++ Library v3 (debug build) (riscv64) 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.

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

There are three methods to install libstdc++6-10-dbg-riscv64-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++6-10-dbg-riscv64-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++6-10-dbg-riscv64-cross using apt-get by running the following command:

sudo apt-get -y install libstdc++6-10-dbg-riscv64-cross

Install libstdc++6-10-dbg-riscv64-cross 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-riscv64-cross using apt by running the following command:

sudo apt -y install libstdc++6-10-dbg-riscv64-cross

Install libstdc++6-10-dbg-riscv64-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++6-10-dbg-riscv64-cross using aptitude by running the following command:

sudo aptitude -y install libstdc++6-10-dbg-riscv64-cross

How To Uninstall libstdc++6-10-dbg-riscv64-cross on Ubuntu 20.04

To uninstall only the libstdc++6-10-dbg-riscv64-cross package we can use the following command:

sudo apt-get remove libstdc++6-10-dbg-riscv64-cross

Uninstall libstdc++6-10-dbg-riscv64-cross And Its Dependencies

To uninstall libstdc++6-10-dbg-riscv64-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++6-10-dbg-riscv64-cross

Remove libstdc++6-10-dbg-riscv64-cross Configurations and Data

To remove libstdc++6-10-dbg-riscv64-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libstdc++6-10-dbg-riscv64-cross

Remove libstdc++6-10-dbg-riscv64-cross configuration, data, and all of its dependencies

We can use the following command to remove libstdc++6-10-dbg-riscv64-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libstdc++6-10-dbg-riscv64-cross

References

Summary

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