How To Install libgfortran5-hppa-cross on Ubuntu 20.04

In this tutorial we learn how to install libgfortran5-hppa-cross on Ubuntu 20.04. libgfortran5-hppa-cross is Runtime library for GNU Fortran applications Runtime library for GNU Fortran applications Runtime library for GNU Fortran applications

Introduction

In this tutorial we learn how to install libgfortran5-hppa-cross on Ubuntu 20.04.

What is libgfortran5-hppa-cross

libgfortran5-hppa-cross is:

Library needed for GNU Fortran applications linked against the shared library.

Package: libgfortran5-hppa-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: 1197 Depends: gcc-10-cross-base-ports (= 10.2.0-5ubuntu1~20.04cross1), libc6-hppa-cross (>= 2.31), libgcc-s4-hppa-cross Filename: pool/universe/g/gcc-10-cross-ports/libgfortran5-hppa-cross_10.2.0-5ubuntu1~20.04cross1_all.deb Size: 302984 MD5sum: 387718900b1c054f3d6e2da7e1879227 SHA1: 357684c9cb59533c9b0ea64f69e665a8f3b6dd97 SHA256: 6a481f866ba6d9addba080393cf6be7fffcfc845aa965abfaaf0d500140b46b4 SHA512: b59b74f4ebadbe6669deb62ff0030953a09918f2bdec7e97afd50c855abed69717e78d9fc12a377d40a34a6b2a7a350a762da7029cdd2a6a8228c1ae4a20a08b Homepage: http://gcc.gnu.org/ Description-en: Runtime library for GNU Fortran applications Library needed for GNU Fortran applications linked against the shared library.

Package: libgfortran5-hppa-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: 1193 Depends: gcc-10-cross-base-ports (= 10-20200411-0ubuntu1cross1), libc6-hppa-cross (>= 2.31), libgcc-s4-hppa-cross Filename: pool/universe/g/gcc-10-cross-ports/libgfortran5-hppa-cross_10-20200411-0ubuntu1cross1_all.deb Size: 302460 MD5sum: 8a2929ae337395ebc5b1c005625826c5 SHA1: d73563895c243327e73d9851feb6ca14106185e7 SHA256: bdb8392adcf58997faa859a8749fc50fb8c45b03351660eeac39aac6f2169395 Homepage: http://gcc.gnu.org/ Description-en: Runtime library for GNU Fortran applications Library needed for GNU Fortran applications linked against the shared library.

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

sudo apt-get -y install libgfortran5-hppa-cross

Install libgfortran5-hppa-cross Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgfortran5-hppa-cross using apt by running the following command:

sudo apt -y install libgfortran5-hppa-cross

Install libgfortran5-hppa-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 libgfortran5-hppa-cross using aptitude by running the following command:

sudo aptitude -y install libgfortran5-hppa-cross

How To Uninstall libgfortran5-hppa-cross on Ubuntu 20.04

To uninstall only the libgfortran5-hppa-cross package we can use the following command:

sudo apt-get remove libgfortran5-hppa-cross

Uninstall libgfortran5-hppa-cross And Its Dependencies

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

sudo apt-get -y autoremove libgfortran5-hppa-cross

Remove libgfortran5-hppa-cross Configurations and Data

To remove libgfortran5-hppa-cross configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libgfortran5-hppa-cross

Remove libgfortran5-hppa-cross configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgfortran5-hppa-cross

References

Summary

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