How To Install libsfgcc-9-dev-armhf-cross on Ubuntu 20.04

In this tutorial we learn how to install libsfgcc-9-dev-armhf-cross on Ubuntu 20.04. libsfgcc-9-dev-armhf-cross is GCC support library (soft float ABI development files) GCC support library (soft float ABI development files)

Introduction

In this tutorial we learn how to install libsfgcc-9-dev-armhf-cross on Ubuntu 20.04.

What is libsfgcc-9-dev-armhf-cross

libsfgcc-9-dev-armhf-cross is:

This package contains the headers and static library files necessary for building C programs which use libgcc, libgomp, libquadmath, libssp or libitm.

Package: libsfgcc-9-dev-armhf-cross Architecture: all Version: 9.3.0-10ubuntu1cross2 Built-Using: gcc-9 (= 9.3.0-10ubuntu1) Priority: optional Section: universe/libdevel Source: gcc-9-cross (21ubuntu3) Origin: Ubuntu Maintainer: Ubuntu Core developers [email protected] Original-Maintainer: Debian GCC Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 4514 Depends: gcc-9-cross-base (>= 9.3.0-10ubuntu1), libsfgcc-s1-armhf-cross (>= 9.3.0-10ubuntu1cross2) | libsfgcc-s1-armhf-cross, libsfgomp1-armhf-cross (>= 9.3.0-10ubuntu1cross2) | libsfgomp1-armhf-cross, libsfatomic1-armhf-cross (>= 9.3.0-10ubuntu1cross2) | libsfatomic1-armhf-cross, libsfasan5-armhf-cross (>= 9.3.0-10ubuntu1cross2) | libsfasan5-armhf-cross, libsfubsan1-armhf-cross (>= 9.3.0-10ubuntu1cross2) | libsfubsan1-armhf-cross Recommends: libc6-dev-armhf-cross (>= 2.13-0ubuntu6) Filename: pool/universe/g/gcc-9-cross/libsfgcc-9-dev-armhf-cross_9.3.0-10ubuntu1cross2_all.deb Size: 626132 MD5sum: 126132e032165c9f08a57826cfbc33d7 SHA1: adebf9a18dcb1148ad0e07e516057fc1d3c85a2d SHA256: 9ef3e8f71f46ea07311fd6a6a3ca30dedd016ac7ce7e4e08fd0397381f68a63f Homepage: http://gcc.gnu.org/ Description-en: GCC support library (soft float ABI development files) This package contains the headers and static library files necessary for building C programs which use libgcc, libgomp, libquadmath, libssp or libitm.

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

sudo apt-get -y install libsfgcc-9-dev-armhf-cross

Install libsfgcc-9-dev-armhf-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsfgcc-9-dev-armhf-cross using apt by running the following command:

sudo apt -y install libsfgcc-9-dev-armhf-cross

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

sudo aptitude -y install libsfgcc-9-dev-armhf-cross

How To Uninstall libsfgcc-9-dev-armhf-cross on Ubuntu 20.04

To uninstall only the libsfgcc-9-dev-armhf-cross package we can use the following command:

sudo apt-get remove libsfgcc-9-dev-armhf-cross

Uninstall libsfgcc-9-dev-armhf-cross And Its Dependencies

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

sudo apt-get -y autoremove libsfgcc-9-dev-armhf-cross

Remove libsfgcc-9-dev-armhf-cross Configurations and Data

To remove libsfgcc-9-dev-armhf-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libsfgcc-9-dev-armhf-cross

Remove libsfgcc-9-dev-armhf-cross configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsfgcc-9-dev-armhf-cross

References

Summary

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