How To Install compat-libgfortran-48 on Rocky Linux 8

In this tutorial we learn how to install compat-libgfortran-48 on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8

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

sudo dnf remove compat-libgfortran-48

compat-libgfortran-48 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/4a278761ce5148367d7e9b4bcdd348f8d91725
/usr/lib/libgfortran.so.3
/usr/lib/libgfortran.so.3.0.0
/usr/lib/.build-id
/usr/lib/.build-id/88
/usr/lib/.build-id/88/b160f9e050152edf384d4e4574d86ed234c59f
/usr/lib64/libgfortran.so.3
/usr/lib64/libgfortran.so.3.0.0

References

Summary

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