How To Install compat-libgfortran-48 on AlmaLinux 8

In this tutorial we learn how to install compat-libgfortran-48 in AlmaLinux 8. compat-libgfortran-48 is Compatibility Fortran runtime library version 4.8.5

Introduction

In this tutorial we learn how to install compat-libgfortran-48 on AlmaLinux 8.

What is compat-libgfortran-48

This package includes a Fortran 95 runtime library for compatibility with GCC 4.8.x-RH compiled Fortran applications.

We can use yum or dnf to install compat-libgfortran-48 on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install compat-libgfortran-48.

Install compat-libgfortran-48 on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install compat-libgfortran-48 using dnf by running the following command:

sudo dnf -y install compat-libgfortran-48

Install compat-libgfortran-48 on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install compat-libgfortran-48 using yum by running the following command:

sudo yum -y install compat-libgfortran-48

How To Uninstall compat-libgfortran-48 on AlmaLinux 8

To uninstall only the compat-libgfortran-48 package we can use the following command:

sudo dnf remove compat-libgfortran-48

References

Summary

In this tutorial we learn how to install compat-libgfortran-48 on AlmaLinux 8 using yum and dnf.