How To Install compat-libf2c-34.x86_64 on Amazon Linux 2

In this tutorial we learn how to install compat-libf2c-34.x86_64 in Amazon Linux 2. compat-libf2c-34.x86_64 is Fortran 77 compatibility runtime

Introduction

In this tutorial we learn how to install compat-libf2c-34.x86_64 on Amazon Linux 2.

What is compat-libf2c-34.x86_64

This package contains Fortran 77 shared library which is needed to run Fortran 77 dynamically linked programs built by g77 3.4.x

We can use yum to install compat-libf2c-34.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install compat-libf2c-34.x86_64.

Install compat-libf2c-34.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install compat-libf2c-34.x86_64 using yum by running the following command:

sudo yum -y install compat-libf2c-34.x86_64

How To Uninstall compat-libf2c-34.x86_64 on Amazon Linux 2

To uninstall only the compat-libf2c-34.x86_64 package we can use the following command:

sudo yum remove compat-libf2c-34.x86_64

compat-libf2c-34.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libg2c.so.0
/usr/lib64/libg2c.so.0.0.0
/usr/share/doc/compat-libf2c-34-3.4.6
/usr/share/doc/compat-libf2c-34-3.4.6/COPYING
/usr/share/doc/compat-libf2c-34-3.4.6/COPYING.LIB
/usr/share/doc/compat-libf2c-34-3.4.6/ChangeLog
/usr/share/doc/compat-libf2c-34-3.4.6/ChangeLog.0

References

Summary

In this tutorial we learn how to install compat-libf2c-34.x86_64 on Amazon Linux 2 using yum.