How To Install libgcc-s2-m68k-cross on Ubuntu 20.04

In this tutorial we learn how to install libgcc-s2-m68k-cross on Ubuntu 20.04. libgcc-s2-m68k-cross is GCC support library (m68k) GCC support library (m68k) GCC support library (m68k)

Introduction

In this tutorial we learn how to install libgcc-s2-m68k-cross on Ubuntu 20.04.

What is libgcc-s2-m68k-cross

libgcc-s2-m68k-cross is:

Shared version of the support library, a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or special needs for some languages.

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

Package: libgcc-s2-m68k-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: 70 Provides: libgcc-s2-m68k-dcv1, libgcc2-m68k-cross (= 1:10.2.0-5ubuntu1~20.04) Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libc6-m68k-cross (>= 2.31) Breaks: libgcc2-m68k-cross (« 1:10) Replaces: libgcc2-m68k-cross (« 1:10) Filename: pool/universe/g/gcc-10-cross-ports/libgcc-s2-m68k-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 25068 MD5sum: 8dd64e14e55a69fa53dce94e13622424 SHA1: 0bc301c88e2f60000d123cd06dc38a63a27ed700 SHA256: 79e513c8a685615c62de8be3fcf0f1e5279baf9ec83956addeb54a5ec86a9f09 SHA512: 55f3661d849174e0f6ed25d841754ae4798bba240aedbffe6ad3e0dac2625f9495daef15df6c8d200f9806cda43fca5b41a7dbf6b997581859ea81c0dac3ef48 Homepage: http://gcc.gnu.org/ Description-en: GCC support library (m68k) Shared version of the support library, a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or special needs for some languages.

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

Package: libgcc-s2-m68k-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: 70 Provides: libgcc-s2-m68k-dcv1, libgcc2-m68k-cross (= 1:10-20200411-0ubuntu1) Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libc6-m68k-cross (>= 2.31) Breaks: libgcc2-m68k-cross (« 1:10) Replaces: libgcc2-m68k-cross (« 1:10) Filename: pool/universe/g/gcc-10-cross-ports/libgcc-s2-m68k-cross_10-20200411-0ubuntu1cross1_all.deb Size: 25068 MD5sum: 5516002bb0989587a67c44bae6c613c4 SHA1: c22d60dc1e6aac03053fc3dff345c7e374c57d99 SHA256: 9f6430f00ced106ef5784fc14cfb0e1bd8b346d0f7496d44066f3b759a413d03 Homepage: http://gcc.gnu.org/ Description-en: GCC support library (m68k) Shared version of the support library, a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or special needs for some languages.

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

There are three methods to install libgcc-s2-m68k-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 libgcc-s2-m68k-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 libgcc-s2-m68k-cross using apt-get by running the following command:

sudo apt-get -y install libgcc-s2-m68k-cross

Install libgcc-s2-m68k-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgcc-s2-m68k-cross using apt by running the following command:

sudo apt -y install libgcc-s2-m68k-cross

Install libgcc-s2-m68k-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 libgcc-s2-m68k-cross using aptitude by running the following command:

sudo aptitude -y install libgcc-s2-m68k-cross

How To Uninstall libgcc-s2-m68k-cross on Ubuntu 20.04

To uninstall only the libgcc-s2-m68k-cross package we can use the following command:

sudo apt-get remove libgcc-s2-m68k-cross

Uninstall libgcc-s2-m68k-cross And Its Dependencies

To uninstall libgcc-s2-m68k-cross and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libgcc-s2-m68k-cross

Remove libgcc-s2-m68k-cross Configurations and Data

To remove libgcc-s2-m68k-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgcc-s2-m68k-cross

Remove libgcc-s2-m68k-cross configuration, data, and all of its dependencies

We can use the following command to remove libgcc-s2-m68k-cross configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgcc-s2-m68k-cross

References

Summary

In this tutorial we learn how to install libgcc-s2-m68k-cross package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.